Hacker News new | past | comments | ask | show | jobs | submit login

Because most normal programs do open-write-sync-close, and that mostly works as expected.

Postgres does open-write-close and then later, in another unrelated process, open-fsync-close. They discovered this doesn’t always work, because if somebody somewhere does a fsync on that file for any reason, their process might miss the error as it doesn’t stick.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: