Status: IN
`max_file_size` is a soft limit; a single batch can push a WAL file arbitrarily past it because `_maybe_rotate` runs only after the write and sync complete
Source: entries/2026/05/29/topic-batch-atomicity-across-rotation.md
def _maybe_rotate(self):
if self._fd and self._fd.tell() >= self._max_file_size:
self._rotate()
# checked AFTER write, so file can exceed limit