maybe-rotate-requires-lock

Status: IN

`_maybe_rotate` must be called under `self._lock` but does not acquire or assert the lock itself; all three call sites (`append`, `append_batch`, `checkpoint`) satisfy this obligation.

Source: entries/2026/05/29/write-ahead-log-wal-_maybe_rotate.md

JSON