You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/10/31 23:31:02 UTC
[GitHub] jihoonson commented on a change in pull request #6552: Use current
coordinator leader instead of cached one (#6551)
jihoonson commented on a change in pull request #6552: Use current coordinator leader instead of cached one (#6551)
URL: https://github.com/apache/incubator-druid/pull/6552#discussion_r229901084
##########
File path: server/src/main/java/org/apache/druid/discovery/DruidLeaderClient.java
##########
@@ -120,6 +120,17 @@ public void stop()
log.info("Stopped.");
}
+ /**
+ * Make a Request object aimed at the leader. Throws IOException if the leader cannot be located.
+ *
+ * @param cached Uses cached leader if true, else uses the current leader
+ */
+ public Request makeRequest(HttpMethod httpMethod, String urlPath, boolean cached) throws IOException
Review comment:
Please fix the below `makeRequest` to call this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org