From 6d85a62ed21020b972960a020f4b42b3d12ac7b8 Mon Sep 17 00:00:00 2001 From: Nishant Date: Fri, 21 Aug 2015 12:25:57 +0530 Subject: [PATCH] fix success flag emitted in router query metrics --- .../main/java/io/druid/server/AsyncQueryForwardingServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/io/druid/server/AsyncQueryForwardingServlet.java b/server/src/main/java/io/druid/server/AsyncQueryForwardingServlet.java index bbfedf60fd6..d6f1c22aac9 100644 --- a/server/src/main/java/io/druid/server/AsyncQueryForwardingServlet.java +++ b/server/src/main/java/io/druid/server/AsyncQueryForwardingServlet.java @@ -274,7 +274,7 @@ public class AsyncQueryForwardingServlet extends AsyncProxyServlet "query/time", requestTime, "success", - true + result.isSucceeded() ) ) )