Fix to_compact_count tracking on load in the new store

This commit is contained in:
Vitaliy Filippov
2026-06-18 00:21:03 +03:00
parent 0c88884576
commit ec9cfa76c1
2 changed files with 13 additions and 7 deletions
+2
View File
@@ -595,6 +595,7 @@ void test_iterate_compaction()
assert(compact_info.compact_version == 5);
assert(compact_info.clean_wr->lsn == 1);
assert(small_writes == 4);
assert(heap.get_to_compact_count() == 2);
// persist
assert(heap.get_meta_block_used_space(0) > 0);
@@ -624,6 +625,7 @@ void test_iterate_compaction()
assert(compact_info.compact_version == 5);
assert(compact_info.clean_wr->lsn == 1);
assert(small_writes == 4);
assert(heap.get_to_compact_count() == 2);
}
{