egor-ryashin commented on a change in pull request #7088: Improve parallelism 
of zookeeper based segment change processing
URL: https://github.com/apache/incubator-druid/pull/7088#discussion_r259439875
 
 

 ##########
 File path: 
server/src/main/java/org/apache/druid/server/coordinator/LoadQueueTaskMaster.java
 ##########
 @@ -66,11 +68,15 @@ public LoadQueuePeon giveMePeon(ImmutableDruidServer 
server)
     if ("http".equalsIgnoreCase(config.getLoadQueuePeonType())) {
       return new HttpLoadQueuePeon(server.getURL(), jsonMapper, httpClient, 
config, peonExec, callbackExec);
     } else {
-      return new CuratorLoadQueuePeon(
+      return new CuratorLoadQueuePeonV2(
 
 Review comment:
   Besides, it's much easier to review changes in the original class than in a 
new class. I guess the only advantage of creating a new class is to provide an 
extension/feature which is turned off by default.

----------------------------------------------------------------
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]

Reply via email to