You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two instances of bak can clobber each others backups. Since bak is explicitly intended to save data, users probably don't want this. So, bak should never clobber data. I suspect fixing this will probably involve forsaking std::fs::rename for something os-specific.
Ideally, bak should keep trying until it successfully renames a file.
The text was updated successfully, but these errors were encountered:
casey
changed the title
Avoid clobbering race condition
Refuse to clobber
Sep 4, 2019
Two instances of bak can clobber each others backups. Since bak is explicitly intended to save data, users probably don't want this. So, bak should never clobber data. I suspect fixing this will probably involve forsaking
std::fs::rename
for something os-specific.Ideally, bak should keep trying until it successfully renames a file.
The text was updated successfully, but these errors were encountered: