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 2022/01/24 22:41:54 UTC

[GitHub] [druid] jihoonson commented on a change in pull request #12187: Enable auto kill segments by default

jihoonson commented on a change in pull request #12187:
URL: https://github.com/apache/druid/pull/12187#discussion_r791208409



##########
File path: server/src/main/java/org/apache/druid/server/coordinator/CoordinatorDynamicConfig.java
##########
@@ -65,7 +65,8 @@
   /**
    * If true {@link KillUnusedSegments} sends kill tasks for unused segments in all data sources.
    */
-  private final boolean killUnusedSegmentsInAllDataSources;
+  @Nullable
+  private final Boolean killUnusedSegmentsInAllDataSources;

Review comment:
       nit: can we compute its default per the given `killDataSourceWhitelist` instead of making it nullable? It could simplify the code a bit.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org