This is an automated email from the ASF dual-hosted git repository.

abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 9cd18908556 Fix log count (#16341)
9cd18908556 is described below

commit 9cd1890855681d90464fb8b53c3c59e05d10f4a6
Author: Andreas Maechler <[email protected]>
AuthorDate: Fri Apr 26 15:04:19 2024 -0600

    Fix log count (#16341)
---
 .../org/apache/druid/server/coordinator/duty/KillUnusedSegments.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/src/main/java/org/apache/druid/server/coordinator/duty/KillUnusedSegments.java
 
b/server/src/main/java/org/apache/druid/server/coordinator/duty/KillUnusedSegments.java
index f4a203bb60d..1d7876da387 100644
--- 
a/server/src/main/java/org/apache/druid/server/coordinator/duty/KillUnusedSegments.java
+++ 
b/server/src/main/java/org/apache/druid/server/coordinator/duty/KillUnusedSegments.java
@@ -239,7 +239,7 @@ public class KillUnusedSegments implements CoordinatorDuty
 
     log.info(
         "Submitted [%d] kill tasks for [%d] datasources. Remaining datasources 
to kill: %s",
-        submittedTasks, dataSourcesToKill.size(), remainingDatasourcesToKill
+        submittedTasks, dataSourcesToKill.size() - 
remainingDatasourcesToKill.size(), remainingDatasourcesToKill
     );
 
     stats.add(Stats.Kill.SUBMITTED_TASKS, submittedTasks);


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

Reply via email to