Force start when journal is full

This commit is contained in:
Vitaliy Filippov
2019-12-03 02:23:29 +03:00
parent 2963ad98ec
commit fd13965b90
3 changed files with 13 additions and 3 deletions
+1
View File
@@ -57,6 +57,7 @@ int blockstore_journal_check_t::check_available(blockstore_operation *op, int re
{
// No space in the journal. Wait until used_start changes.
op->wait_for = WAIT_JOURNAL;
bs->flusher->force_start();
op->wait_detail = bs->journal.used_start;
return 0;
}