[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: mmr pair stops replicating: "consumer state is newer than provider"
- To: btb <btb@bitrate.net>, openldap-technical@openldap.org
- Subject: Re: mmr pair stops replicating: "consumer state is newer than provider"
- From: Quanah Gibson-Mount <quanah@symas.com>
- Date: Tue, 27 Jun 2017 13:55:34 -0700
- Content-disposition: inline
- In-reply-to: <WM!250a43491a3881f6c8d454396d5edcdbdff347676182c3cd95de6b3570ee09feafbcccefba03f9d48b03b9bb3f10deb0!@mailstronghold-1.zmailcloud.com>
- References: <460a87bc-ccb6-9553-bb6a-b57de306058e@bitrate.net> <WM!721ba9b642972ca17483c621787c32b1e0b1f650e884b9d0653d75b7c6a4b403485f248df406b00e352a97047c1e5e1c!@mailstronghold-1.zmailcloud.com> <B3D6DB90F83F55DBF692C0B8@[192.168.1.30]> <ffa99d26-b81a-6409-6e8c-12ee91d5487e@bitrate.net> <WM!250a43491a3881f6c8d454396d5edcdbdff347676182c3cd95de6b3570ee09feafbcccefba03f9d48b03b9bb3f10deb0!@mailstronghold-1.zmailcloud.com>
--On Tuesday, June 27, 2017 5:35 PM -0400 btb <btb@bitrate.net> wrote:
On 6/27/17 10:27 AM, Quanah Gibson-Mount wrote:
--On Tuesday, June 27, 2017 10:37 AM -0400 btb <btb@bitrate.net> wrote:
i'm using 2.4.44 on freebsd, built from ports. i can provide any config
details etc - i just didn't want to inundate the post with guesses on
detail that might not be relevant.
What is your accesslog purge setting? Do you have long periods of time
with no write activity?
there are some extended periods of time with no write activity, yes.
That's one form of a known issue then with using accesslog (ITS#8100).
I've made a suggestion on how it could be fixed, and Howard agreed that
would be the correct solution. Just need the fix. :)
In the meantime, you can set up a cronjob that does a modify once a day on
some object that doesn't really do anything, like if you had:
dn: cn=someobject,dc...
objectClass: ...
cn: someobject
description: blah
you could have a job that does:
dn: cn=someobject,dc...
changetype: modify
replace: description
description: blah
So it in effect does nothing, but it keeps an active change in the
accesslog alive.
Basically what happens with the accesslog empty is that it'll end up
generating its own new contextCSN that differs for that server than the one
stored in the rootDB, and will be /newer/ than it as well, which is why you
get that message. You can also fix the problem simply by doing a modify on
each master, and it'll reset the contextCSNs and things will flow (i.e., no
need to do a dump/reload, etc).
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>