On 2013-02-26 10:55, Timo Sirainen wrote:
On 25.2.2013, at 17.38, Michael Grimm trashcan@odo.in-berlin.de wrote:
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't reproduce this. Some interesting questions:
If you include hostname+counter in the message, what do the mailboxes look like in the different sides? Did they skip over some numbers or did they both stop at some specific remote counter and continue the local counters until the end?
Is it even trying to run doveadm sync commands at the end? (e.g. make dsync_remote_cmd execute some wrapper script that logs something)
If the doveadm syncs continue, try saving rawlogs from them to see what they're doing (-r /tmp/rawlog parameter to doveadm dsync-server).
I will investigate this further, but that will take some time.
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.
It probably works even without -f parameter?
In the meantime I can confirm that it will work without that parameter as well.
Thanks and regards, Michael