Re: Cache truncation bug on aborted appends

2008-12-05 Thread Bron Gondwana
On Fri, 5 Dec 2008 08:25:38 +0100 (CET), "Simon Matter" <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > Cyrus stores the end of the cache file before starting an > > append operation so that it can truncate back to that point > > if the append is aborted. > > > > Unfortunately, it actually stores

Re: Cache truncation bug on aborted appends

2008-12-04 Thread Simon Matter
> Hi all, > > Cyrus stores the end of the cache file before starting an > append operation so that it can truncate back to that point > if the append is aborted. > > Unfortunately, it actually stores cache_len rather than > cache_size. That sort of sucks, because cache_len is > rounded up by quite