Use the same "inflight" queue to track compaction

This commit is contained in:
Vitaliy Filippov
2025-11-23 19:08:22 +03:00
parent 0fd557fe95
commit 98da2cb6e0
9 changed files with 207 additions and 74 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ void blockstore_impl_t::check_wait(blockstore_op_t *op)
}
else if (PRIV(op)->wait_for == WAIT_COMPACTION)
{
if (flusher->get_counter() <= PRIV(op)->wait_detail)
if (flusher->get_compact_counter() <= PRIV(op)->wait_detail)
{
// do not submit
#ifdef BLOCKSTORE_DEBUG