Am 12.01.2015 um 16:33 schrieb Wietse Venema:
[email protected]:
what about

* open a temporary new file for step 1
* if the operations fails just delete it
* if the operation suceeds move it to the final location

What about databases that require TWO files? There is no
atomic operation to move two files

create TWO temp files and decide at the end if they both are should be moved or deleted? i don't get why you care in that context about atmoic move of two files - two non-atomic moves are in any case better than what the OP reported

Reply via email to