flush-before-fsync-invariant

Status: IN

Every `os.fsync()` call in the codebase is immediately preceded by a `.flush()` call, ensuring Python's userspace buffer is drained to the kernel page cache before requesting stable storage persistence.

Source: entries/2026/05/29/topic-fsync-vs-flush-semantics.md

JSON