michael-trelinski commented on a change in pull request #6740: Zookeeper loss
URL: https://github.com/apache/incubator-druid/pull/6740#discussion_r243470913
##########
File path: server/src/main/java/org/apache/druid/curator/CuratorModule.java
##########
@@ -136,7 +162,7 @@ public EnsembleProvider makeEnsembleProvider(CuratorConfig
config, ExhibitorConf
new DefaultExhibitorRestClient(exConfig.getUseSsl()),
exConfig.getRestUriPath(),
exConfig.getPollingMs(),
- new BoundedExponentialBackoffRetry(BASE_SLEEP_TIME_MS,
MAX_SLEEP_TIME_MS, MAX_RETRIES)
+ config.getQuitOnConnectFail() ? new
BoundedExponentialBackoffRetryWithQuit(exitFunction, BASE_SLEEP_TIME_MS,
MAX_SLEEP_TIME_MS, MAX_RETRIES) : new
BoundedExponentialBackoffRetry(BASE_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS,
MAX_RETRIES)
Review comment:
Fixed
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]