Files
Luca Cominardi 4871a556c7 Flush every WAL write to the OS by default (#6926)
The ingest v2 WAL used `PersistPolicy::OnDelay { 5s, Flush }`, which
mrecordlog only checks on the next write. The last frame of an
acknowledged append could stay in the process indefinitely, and recovery
drops a record whose last frame is missing, so a process crash lost the
whole append.

Define `DEFAULT_WAL_PERSIST_POLICY` = `Always(Flush)` and use it
explicitly for every WAL: ingest v2 (the behavior change),
`MultiRecordLogAsync::open` (ingest v1, already `Always(Flush)`) and
`mrecord_bench`. It does not fsync, so host failure or power loss is not
covered.
2026-10-22 20:11:57 +00:00
..
2026-04-20 11:55:01 +02:00