[Box Backup-dev] Proposal (patch): bbstored HousekeepingStyle mod

G. boxbackup-dev at fluffy.co.uk
Fri Jan 12 17:40:45 GMT 2007


Hi,=0A=0AAn update: after eyeballing the bbstored housekeeping code, I deci=
ded to try Martin's suggestion. I set the soft limit to 0, and ran a full d=
aily cycle with the 0.10 vanilla bbstored. The test worked out well, and al=
l deleted and old file versions have been removed by housekeeping, while al=
l current files have been retained. bbstoredaccounts info reported 0 old/de=
leted file blocks, bbstoredaccounts check reported no account errors, bback=
upquery compare -aq confirmed the repository copy. I will schedule a full c=
ompare later on next week, and if something comes up, I will let you know.=
=0A=0AThus, since the current bbstored version seems to achieve what I need=
 already, I am discarding my patch and falling back on the vanilla 0.10 bbs=
tored.=0A=0AHowever, my paranoid-admin-$0.02:=0A=0A1.) A setting as critica=
l as server file maintenance policy should be an explicit setting (such as =
a new bbstored.conf housekeeping mode, or perhaps a new bbstoredaccounts se=
tlimit switch), as opposed to a special value of zero for the soft-limit, s=
o that there is no ambiguity whatsoever that this is a supported server mai=
ntenance scenario, and that the soft limit is no longer a relevant quantity=
.=0A=0A2.) It would be reasonable for any part of the housekeeping code (no=
w, or in future revisions) to presume that the requested deletion size targ=
et calculated always excludes current file blocks. Housekeeping will presen=
tly figure out that there are no more old/deleted file blocks left to remov=
e and that the calculated deletion size target should never be reached, but=
 this seems a bit like getting lucky with "special-case-coding". An exact n=
umber of old/deleted blocks should be calculated and ran through housekeepi=
ng.=0A=0AIf you guys need the housekeeping patch in the future, I will have=
 it archived.=0A=0AGreetings (and thanks for the suggestion, Martin!),=0A=
=0AGary=0A=0A=0A=0A=0A=0A =0A______________________________________________=
______________________________________=0ADon't get soaked.  Take a quick pe=
ak at the forecast=0Awith the Yahoo! Search weather shortcut.=0Ahttp://tool=
s.search.yahoo.com/shortcuts/#loc_weather



More information about the Boxbackup-dev mailing list