{"id":"wal-truncate-closes-write-fd","text":"`truncate()` flushes, fsyncs, and closes the current write file descriptor before iterating segments, preventing conflicts with files it may need to delete or rewrite","truth_value":"IN","source":"entries/2026/05/28/topic-wal-segment-deletion-ordering.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-truncate-closes-write-fd","truth_value":"IN","reason":"premise"}]}}