{"id":"single-file-design-enables-atomic-sync","text":"`PageManager` stores metadata (page 0) and data pages in a single file, so one `os.fsync()` call in `sync()` covers both; splitting into separate files would require multiple fsyncs with ordering constraints in the commit fence","truth_value":"IN","source":"entries/2026/05/29/topic-wal-commit-vs-metadata-sync-ordering.md","source_url":"","source_hash":"","justifications":[],"dependents":["btree-page-alignment-enables-corruption-recovery"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"single-file-design-enables-atomic-sync","truth_value":"IN","reason":"premise"}]}}