On 2013-02-25 15:58, Timo Sirainen wrote:
On 21.2.2013, at 22.12, Michael Grimm trashcan@odo.in-berlin.de wrote:
Whenever I do run those tests with a delay of 1 second between every injection, I do observe, that not all mails injected become visible in my MUAs (Mail.app and Roundcube), immediately. All "get new mail" functionality or MUA restarts fails to fetch those missing messages from both servers.
So .. what exactly do you mean by this? That in both servers you run a script that delivers a mail once per second to the same user?
Yes. In my tests I do inject 200 messages at every server simultaneously with a delay of 1 second.
And at some point the replication just stops replicating those mails to the other server?
Yes. I would expect 400 messages at every inbox, but normally I do end up with around 270 in an inbox, and both inboxes do show slightly different numbers (e.g. 245 and 297). (Looks like stopping.)
I can see how that would happen with regular "doveadm sync" command, but replicator uses stateful syncing where that shouldn't be possible.
I did repeat this test appr. 10 times, always the same. Restarting both dovecot servers or running "doveadm dsync -d -l 30 -u test -f" leads to an instantaneous appearence of all 400 messages in every inbox.
What is puzzeling me most: If I do inject both 200 messages *without* any delay, I cannot see this behavior. All 400 messages appear without delay.
Regards, Michael