chore: turn full cold compaction on (#5728)

pull/24376/head
Nga Tran 2022-09-22 13:07:35 -04:00 committed by GitHub
parent aaec5104d6
commit 61075d57e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -175,8 +175,7 @@ pub async fn run_compactor_once(compactor: Arc<Compactor>) {
}
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