[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8100) Empty accesslog causes issues with delta-syncrepl MMR configurations



--On Thursday, April 09, 2015 5:42 AM +0000 quanah@openldap.org wrote:

> Full_Name: Quanah Gibson-Mount
> Version: 2.4.39
> OS: Linux 2.6
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (50.25.188.166)
>
>
> When one has an MMR setup using delta-syncrepl, and the masters get into a
> situation where one is out of sync, or adding a new MMR node to an
> existing cluster, things will be broken until the new/reloaded node has a
> write op that goes to the accesslog DB.  In an existing cluster, where a
> node is being reloaded, it causes all nodes to go into an endless looping
> fallback sync until that write occurs.

One possible fix for this, would be to refuse to delete the final entry in 
the accesslog during the purge phase.  That way, the accesslog would never 
be empty.  I'm not sure how difficult this would be to implement, code wise.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>