216.4d
http://www.rnaworld.de/rnaworld/result. ... d=14952505




How much more does it take than just writing checkpoints to files of two alternating names, and trying whichever file has the newer timestamp first if a restore is needed?Michael H.W. Weber hat geschrieben:Well, apparently that is not that trivial...Peter Hucker hat geschrieben:Is there no way to make it finish saving the new checkpoint before deleting the previous one?






Surely the system must know if a snapshot has been written completely. A simple "finished" marker on the end of the file. If that ain't there, load the previous one. Somebody (perhaps in Oracle) doesn't know what they're doing.Jacob Klein hat geschrieben:Offhand, without inspecting files...
I'm curious what would happen if the system was interrupted, DURING/AFTER the creation of a new snapshot, but BEFORE deletion of the old snapshot.
That is where, it seems to me, a weak spot may exist (and the code looks at "current snapshot" which may be bad).

Note, however, that VM snapshots are quite large. Mine is currently about 772 MB. Any change to keep the old snapshot until the new one is fully written needs to be user-selectable, unless you want to have fewer users with enough disk space to handle such tasks.Peter Hucker hat geschrieben:Surely the system must know if a snapshot has been written completely. A simple "finished" marker on the end of the file. If that ain't there, load the previous one. Somebody (perhaps in Oracle) doesn't know what they're doing.Jacob Klein hat geschrieben:Offhand, without inspecting files...
I'm curious what would happen if the system was interrupted, DURING/AFTER the creation of a new snapshot, but BEFORE deletion of the old snapshot.
That is where, it seems to me, a weak spot may exist (and the code looks at "current snapshot" which may be bad).


