[Box Backup] possible bug
Ben Summers
boxbackup@fluffy.co.uk
Wed, 16 Feb 2005 09:49:07 +0000
On 15 Feb 2005, at 21:30, Alex Howansky wrote:
[snip]
>
> So, if we say that:
>
> X = size of a totally new file to backup
> Y = hard limit - (usage + deleted + old)
>
> Then it seems that bbstored fails when X > Y, even if X < deleted +
> old.
>
> I.e., there was certainly enough room to backup the new files if the
> deleted
> files had been purged at the time the new files were uploaded, but
> that didn't
> happen. I'm guessing that since the log file says "size uncertain" on
> the
> transfer, it can't figure out that it needs to purge deleted files to
> make room
> for the new one -- so it doesn't try, and the file ends up being so
> huge that
> it hits the quota and fails.
Thank you for your excellent analysis. Since usage includes deleted and
old, Y is actually just (hardlimit - usage), but apart from that you're
absolutely correct.
I'll get that fixed.
Work around for now: Make sure that (hardlimit - softlimit) is greater
than your maximum file size.
Ben