]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
dsync: If incremental dsync finds that its state is stale, retry (later) with full...
authorTimo Sirainen <tss@iki.fi>
Mon, 28 Apr 2014 17:14:03 +0000 (20:14 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 28 Apr 2014 17:14:03 +0000 (20:14 +0300)
commit40440c0fee87be994ba7eb60fc3512a9355708aa
tree0a83425e71b44635cc8dc18ddb59fafb690b0fd5
parent7d315281ae13a66e13da2b1ad006bdb883018278
dsync: If incremental dsync finds that its state is stale, retry (later) with full sync.
This works only when the master itself notices such changes locally. Remote
changes aren't noticed, because the master doesn't send the state to remote
dsync and the master is also the one that decides which mailboxes are
synced. The fix to this probably means sending the state string to remote
dsync and have it check if the state is still valid (= protocol change).
src/doveadm/dsync/dsync-brain-mailbox.c
src/doveadm/dsync/dsync-brain-mails.c
src/doveadm/dsync/dsync-brain-private.h
src/doveadm/dsync/dsync-transaction-log-scan.c