No -k option for cyradm's reconstrcut [Was: Re: unexpunge Bus Error (signal 7) [Was: Re: ipurge and delayed expunge]]

Adam Tauno Williams awilliam at whitemice.org
Thu Jul 2 11:29:18 EDT 2009


On Sat, 2009-06-27 at 10:06 -0400, Brian Awood wrote:
> On Friday 26 June 2009 @ 20:47, Adam Tauno Williams wrote:
> > A reconstruct works, but then none of the expunged messages appear
> > (list from unexpunge -l is empty).  Should a reconstruct loose
> > expunged messages in delayed expunge mode?
> reconstruct will remove the expunged data if you don't specify the -k 
> option, also if it's not able to verify the cyrus.expunge file as 
> valid, it will delete it and put all messages back into the index.  

I've verified this behavior;  with a batchreconstruct -rk everything
seems OK.

One note:  the "reconstruct" command in cyradm accepts a "-r" option but
not a "-k" option.

> I posted a patch to the dev list which addresses this and a couple of 
> other issues in reconstruct.  In this case it looks like the 
> cyrus.expunge file was corrupted since the expunge_index_base isn't 
> valid.  Possibly due to a previous issue with the expunge file.  



More information about the Info-cyrus mailing list