Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not suggesting flushing for rename. If a file write and a rename happen shortly before power loss, and neither goes through, that's fine.

With this rule, three outcomes are acceptable: both occur, or neither occur, or just the file write happens. The unacceptable outcome is that just the rename happens.

("file write" here could mean a single write, or an open-write-close sequence, it doesn't particularly matter and I don't want to dig through old discussions in too much detail)



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

Search: