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

> How can you tell

By observing the status of a flag "wasBackupSuccessful", which wouldn't be set to true if there is a power loss after the file was copied (this flag could be set as an atomic rename operation on the copied backup file so that you could tell via the observable file system behavior whether the copy succeeded)

But it is now clear what you meant, thanks for the explanation!



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

Search: