From 61075d57e288aeee40acb982a1373e0e0dd4f6f1 Mon Sep 17 00:00:00 2001 From: Nga Tran Date: Thu, 22 Sep 2022 13:07:35 -0400 Subject: [PATCH] chore: turn full cold compaction on (#5728) --- compactor/src/handler.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compactor/src/handler.rs b/compactor/src/handler.rs index 31505e71da..544d322234 100644 --- a/compactor/src/handler.rs +++ b/compactor/src/handler.rs @@ -175,8 +175,7 @@ pub async fn run_compactor_once(compactor: Arc) { } debug!("start cold cycle"); - compacted_partitions += - cold::compact(Arc::clone(&compactor), false /* not do full compact */).await; + compacted_partitions += cold::compact(Arc::clone(&compactor), true).await; if compacted_partitions == 0 { // sleep for a second to avoid a busy loop when the catalog is polled