[Dovecot] dsync replication errors

Timo Sirainen tss at iki.fi
Thu Jan 31 18:49:18 EET 2013


On 31.1.2013, at 18.37, Oli Schacher <dovecot at lists.wgwh.ch> wrote:

> I updated to the latest hg, including the "remote cmd exit wait" update.
> 
> It looks better now, but I still manage to break things :-)
> 
> #############
> test 2: append only 100 messages, but use maildir again instead of
> mdbox.
> still produces errors and starts duplicating, even saw an
> assertion error this time, but I can't reproduce it always
> 
> Jan 31 16:57:34 doco1 dovecot: imap-login: Login: user=<user1>,
> method=PLAIN, rip=192.168.23.130, lip=192.168.23.61, mpid=2684,
> session=<4tper5fU8gDAqBeC>
> Jan 31 16:57:35 doco1 dovecot: doveadm: Error: dsync-remote(user1):
> Panic: file dsync-mailbox-tree-fill.c: line 72
> (dsync_mailbox_tree_add): assertion failed: (status.uidvalidity != 0)

http://hg.dovecot.org/dovecot-2.2/rev/86629f621fe4 should fix this crash.

The duplication happens because maildir somehow messes up itself. I guess I should look into it.

> test 3: mdbox again,  append 1000 messages with claws mail, but have
> thunderbird connected at the same time to both accounts while doing so.
> this leads to the same problem as before (duplication, errors). I guess
> thunderbird wants to set a seen flag and modifying the mailbox while
> it's being synced is probably is a bad idea, but you never know
> what users are going to do :-)
> 
> Jan 31 17:13:11 doco1 dovecot: dsync-local(user1): Error: Mailbox
> INBOX: Remote didn't send mail GUID=33dabe0f11980a51200c0000960042f4
> (UID=104)

All of the clients and changes are done only to one side, not to both sides?




More information about the dovecot mailing list