Replication and deleted & really removed folders in Cyrus 2.4.12

Bron Gondwana brong at fastmail.fm
Thu Jan 19 06:54:26 EST 2012



On Thu, Jan 19, 2012, at 11:09 AM, Janne Peltonen wrote:
> Hi!
> 
> Today, I ran into a totally new kind of trouble with replication. Apparently,
> in some situation, when a user has some folders in the DELETED hieararchy, and
> the folders get actually removed from the disk, and there is a USER operation
> for that user, the replication code tries to replicate the no-longer-existent
> folders in DELETED hierarchy and gets errors such as
> 
> --clip--
> Jan 19 10:59:31 pcn2 i16/sync_client[6696]: IOERROR: opening index DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602: System I/O error
> Jan 19 10:59:31 pcn2 i16/sync_client[6696]: IOERROR: Failed to open DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602: System I/O error
> Jan 19 10:59:31 pcn2 i16/sync_client[6696]: Error in do_sync(): bailing out! System I/O error
> --clip--
> 
> As can be seen here, the folder that Cyrus is trying the replicate, is no
> longer existent in the DELETED hierarchy (or anywhere else, for that matter):
> 
> --clip--
> admin.mappi.helsinki.fi> lm DELETED.user.<censored>.*
> DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-2012 ESHG.Untitled Folder.4F17D617 (\HasNoChildren)
> admin.mappi.helsinki.fi> 
> --clip--
> 
> Any ideas? I didn't see any behaviour like this in the 2.3 series...

Yeah - ok.  So the DELETED item is still in the mailboxes.db, but the files on
disk have been deleted.  Can you send your imapd.conf(s) - and any syslog from
the time that the folders got deleted?

I wonder if cyr_expire is running with the wrong configuration, so it's not
talking to the mupdate server when it removes folders?

(I see from your other messages that you've worked around the problem - but I'd
like to know if it's going to keep happening too!)

Thanks,

Bron.
-- 
  Bron Gondwana
  brong at fastmail.fm



More information about the Info-cyrus mailing list