lsm-wal-truncate-wb-then-ab

Status: IN

`WAL.truncate()` uses a two-open sequence — open in `"wb"` mode to truncate the file, then reopen in `"ab"` mode for appending — because `"wb"` positions the cursor at offset 0 which is unsafe for a WAL

Source: entries/2026/05/29/log-structured-merge-tree-lsm-truncate.md

JSON