egor-ryashin commented on a change in pull request #6349: maintenance mode for 
Historical
URL: https://github.com/apache/incubator-druid/pull/6349#discussion_r223796230
 
 

 ##########
 File path: 
server/src/main/java/org/apache/druid/server/coordinator/CoordinatorDynamicConfig.java
 ##########
 @@ -192,10 +195,14 @@ public boolean isKillAllDataSources()
     return killAllDataSources;
   }
 
+  /**
+   * List of dataSources for which pendingSegments are NOT cleaned up
+   * if property druid.coordinator.kill.pendingSegments.on is true.
 
 Review comment:
   There is no specific variable, it conditionally binds the class, as I 
understand 
   ```java
               ConditionalMultibind.create(
                   properties,
                   binder,
                   DruidCoordinatorHelper.class,
                   CoordinatorIndexingServiceHelper.class
               ).addConditionBinding(
                   "druid.coordinator.merge.on",
                   Predicates.equalTo("true"),
                   DruidCoordinatorSegmentMerger.class
               ).addConditionBinding(
                   "druid.coordinator.conversion.on",
                   Predicates.equalTo("true"),
                   DruidCoordinatorVersionConverter.class
               ).addConditionBinding(
                   "druid.coordinator.kill.on",
                   Predicates.equalTo("true"),
                   DruidCoordinatorSegmentKiller.class
               ).addConditionBinding(
                   "druid.coordinator.kill.pendingSegments.on",
                   Predicates.equalTo("true"),
   ```

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