Perl: the Markov chain saw | |
PerlMonks |
Re^3: Writing to a file atomically without renamingby waswas-fng (Curate) |
on Jun 30, 2005 at 20:02 UTC ( [id://471455]=note: print w/replies, xml ) | Need Help?? |
They write blocks of data to holes in the file or at the end of the file, and if the transaction is committed they then change pointers in the tablespace to the new data, else if rollback they leave the pointers at the old data locations.
-Waswas
In Section
Seekers of Perl Wisdom
|
|