Comment by jtregunna
4 months ago
Right, you do need to fsync when creating new files to ensure the directory entry is durable. However, WAL files are typically created once and then appended to for their lifetime, so the directory fsync is only needed at file creation time, not during normal operations.
No comments yet
Contribute on Hacker News ↗