From 79895b995ccc78625d26f1ccaad1662fc39aa0ff Mon Sep 17 00:00:00 2001 From: Nga Tran Date: Thu, 2 Jun 2022 11:19:08 -0400 Subject: [PATCH] chore: add debug info to see how many concurrent partitions being compacted in each cycle (#4772) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- compactor/src/handler.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compactor/src/handler.rs b/compactor/src/handler.rs index 2ad880893c..66f12faab4 100644 --- a/compactor/src/handler.rs +++ b/compactor/src/handler.rs @@ -227,6 +227,10 @@ async fn run_compactor(compactor: Arc, shutdown: CancellationToken) { } let compactions_run = handles.len(); + debug!( + ?compactions_run, + "Number of concurrent partitions are being compacted in this cycle" + ); let _ = futures::future::join_all(handles).await;