Fix zero-length writes

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent 4f997791b8
commit 99bddb976a
3 changed files with 10 additions and 9 deletions
+1
View File
@@ -161,6 +161,7 @@ bool journal_flusher_co::loop()
else if (wait_state == 24) goto resume_24;
resume_0:
wait_state = 0;
wait_count = 0;
cur_oid = {};
res = bs->heap->get_next_compact(cur_oid);
if (res == ENOENT && flusher->force_start > 0 && co_id == 0 &&