[Box Backup-dev] COMMIT r746 - box/chris/merge/bin/bbackupd
Chris Wilson
boxbackup-dev@fluffy.co.uk
Sat, 19 Aug 2006 22:26:07 +0100 (BST)
Hi Martin,
On Sat, 19 Aug 2006, Martin Ebourne wrote:
>> - Made SerializeStoreObjectInfo() return a boolean, true if it
>> successfully saved the store object info file, false otherwise.
>
> Is it really considered successful if the file is created but none of
> the contents are written?
Sorry, I should have been clearer. A file is successfully created, which
must be deleted during the next backup run. We delete it without looking
at its contents, but if we create the file and fail to delete it, and then
die, then a subsequent run could get confused.
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |