Nasty replication bug

David Carter dpc22 at cam.ac.uk
Tue Mar 25 07:58:32 EDT 2008


The following is missing from the replication code in 2.3.X:

http://www-uxsup.csx.cam.ac.uk/~dpc22/cyrus/patches/2.3cvs/sync_getsimple.patch

If debris is left in /var/spool/imap/sync. because sync_server died 
without a clean shutdown, then a future sync_server run can trample over 
messages in the replica mailstore. This is actually a repeat of a bug that 
Bron found a year or so back. We switched from using sync_message_open() 
to sync_getsimple() in the intervening time.

-- 
David Carter                             Email: David.Carter at ucs.cam.ac.uk
University Computing Service,            Phone: (01223) 334502
New Museums Site, Pembroke Street,       Fax:   (01223) 334679
Cambridge UK. CB2 3QH.


More information about the Cyrus-devel mailing list