Save completed_lsn in the superblock

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 3eecf9048c
commit e709657de4
11 changed files with 65 additions and 22 deletions
+1 -1
View File
@@ -71,6 +71,7 @@ class journal_flusher_co
bool read_buffered(int wait_base);
bool fsync_meta(int wait_base);
bool fsync_buffer(int wait_base);
bool trim_lsn(int wait_base);
public:
journal_flusher_co();
~journal_flusher_co();
@@ -86,7 +87,6 @@ class journal_flusher_t
blockstore_impl_t *bs;
friend class journal_flusher_co;
int advance_lsn_counter = 0;
uint64_t compact_counter = 0;
robin_hood::unordered_flat_set<object_id> flushing;