From 9cd1890855681d90464fb8b53c3c59e05d10f4a6 Mon Sep 17 00:00:00 2001 From: Andreas Maechler Date: Fri, 26 Apr 2024 15:04:19 -0600 Subject: [PATCH] Fix log count (#16341) --- .../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);