Use fsynced_lsn in flusher
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user