Fix possible journal corruption caused by concurrent flushing and writing of the same journal sector

This commit is contained in:
Vitaliy Filippov
2020-03-08 01:21:19 +03:00
parent 1696446545
commit c863543bfe
6 changed files with 48 additions and 13 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ public:
// Journal flusher itself
class journal_flusher_t
{
bool start_forced = false;
bool dequeuing;
int flusher_count;
int sync_threshold;
journal_flusher_co *co;