"reconstruct -k" is broken when delayed expunge enabled
murch at andrew.cmu.edu
Tue Dec 18 09:56:16 EST 2007
David Carter wrote:
> Take a mailbox with 2 messages.
> Expunge the second message and then the first. "reconstruct -k" will
> generate a mailbox where the second message appears in both cyrus.index
> and cyrus.expunge. Not good, especially when cyrus_expire -X cuts in.
> A trivial fix:
> A slightly more ambitious fix, using the fact that both uid and
> expuid have been sorted into order of ascending UID:
> I believe that the second patch matches the intent of the original code.
Applied patch 2 to CVS.
Project Cyrus Developer/Maintainer
Carnegie Mellon University
More information about the Cyrus-devel