mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-07-23 17:21:27 +03:00
Previously, reader could advance writer offset at metadata without actual data write. It may produce corrupted persistent queue, if vmagent crashed. This commit changes flush behavior to perform f-sync flush, only if there is some recently written data. Related to https://github.com/VictoriaMetrics/VictoriaMetrics/issues/11192