On 28 Oct 2016, at 15:36, Gilles Chauvin <gilles.chauvin@univ-rouen.fr> wrote:
Hello,
Here is a Panic that happened while doing some testing with two servers both running Dovecot v2.2.26 on CentOS 7.
These are test servers owning 32 accounts whose data were copied from our production server.
What I've done is:
server01# doveadm force-resync -A '*' server01# doveadm replicator replicate -f '*'
For 5 accounts I obtained the following crash:
2016-10-28T14:09:43.236946+02:00 server01 dovecot: dsync-server(someuser): Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)
This code hasn't changed for quite a long time. So I don't think this is a new bug in 2.2.26. Can you try reproduce it easily? If yes, could you try if the attached patch fixes it?