chore: move compaction progress notification up (to be more frequent) (#7389)

pull/24376/head
Joe-Blount 2023-03-30 12:49:09 -05:00 committed by GitHub
parent 7e6518c7ca
commit 0a51fd55a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -287,9 +287,6 @@ async fn try_compact_partition(
files_next.extend(created_files);
files_next.extend(upgraded_files);
files_next.extend(files_to_keep);
}
files = files_next;
// Report to `timeout_with_progress_checking` that some progress has been made; stop
// if sending this signal fails because something has gone terribly wrong for the other
@ -298,6 +295,9 @@ async fn try_compact_partition(
return Err(Box::new(e));
}
}
files = files_next;
}
}
/// Compact or split given files