Use fsynced_lsn in flusher

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent ec3bf4ae6c
commit 47bec8af47
+1 -1
View File
@@ -221,7 +221,7 @@ resume_1:
} }
cur_version = cur_obj->get_writes()->version; cur_version = cur_obj->get_writes()->version;
// Find the range to compact // Find the range to compact
compact_lsn = bs->heap->get_completed_lsn(); compact_lsn = bs->heap->get_fsynced_lsn();
bs->heap->get_compact_range(cur_obj, compact_lsn, &begin_wr, &end_wr); bs->heap->get_compact_range(cur_obj, compact_lsn, &begin_wr, &end_wr);
if (!begin_wr) if (!begin_wr)
{ {