[Date Prev][Date Next]
accesslog logpurge and disconnected syncrepl consumers
- To: OpenLDAP <firstname.lastname@example.org>
- Subject: accesslog logpurge and disconnected syncrepl consumers
- From: David Hawes <email@example.com>
- Date: Wed, 17 Mar 2010 17:41:05 -0400
- User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:22.214.171.124) Gecko/20100227 Thunderbird/3.0.3
I'm using delta-syncrepl and noticed that my consumers were connecting
to the provider once a day. After checking the logs and a few quick
tests, I realized that these reconnects correspond to accesslog purging
old entries (it was set to check every day).
What I observe is that the provider purges the accesslog entries and
then the consumer immediately unbinds. It then takes the retry interval
of the consumer for syncrepl to reconnect.
If changes occur during the consumer's retry interval, the consumer will
contain stale data.
This is not that big of a deal for me as my refresh interval is 60
seconds, but I did not see this noted anywhere.
I should note that a search using the LDAP sync control with ldapsearch
does not lose its connection when the accesslog is purged.
Is it expected for consumers to disconnect on an accesslog logpurge?