kfaraz commented on code in PR #16291:
URL: https://github.com/apache/druid/pull/16291#discussion_r1666393058


##########
server/src/main/java/org/apache/druid/server/coordinator/duty/CompactSegments.java:
##########
@@ -87,6 +91,10 @@ public class CompactSegments implements CoordinatorCustomDuty
   private static final Predicate<TaskStatusPlus> IS_COMPACTION_TASK =
       status -> null != status && 
COMPACTION_TASK_TYPE.equals(status.getType());
 
+  // An artificial limit imposed just to avoid taking up too many compaction 
task slots for a single MSQ compaction
+  // task. Can be updated if needed.

Review Comment:
   ```suggestion
     /**
       * Limit to ensure that an MSQ compaction task doesn't take up all task 
slots in a cluster.
       */
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to