Fix submitting forced fsyncs in flusher

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 0f4837e9bb
commit c8f5b6cb19
6 changed files with 23 additions and 18 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ bool blockstore_impl_t::is_safe_to_stop()
{
return false;
}
if (unsynced_data_write_count > 0 || unsynced_small_write_count > 0 || unsynced_meta_write_count > 0)
if (has_unsynced())
{
if (!readonly && !stop_sync_submitted)
{