On Tue, Mar 25, 2025 at 09:25:38AM +0000, Windl, Ulrich wrote:
> Hi!
> 
> I had just asked https://serverfault.com/q/1177576/407952, but I'll
> summarize here:
> I think I configured delta-syncrepl for a MMR correctly using OpenLDAP
> >= 2.5.18 (cn=config also synced). However when I offlined one node
> and updated the main DIT via slapadd, the other node wouldn't update
> its DIT when the offlined node is online again.

Hi Ulrich,
nothing there indicates a replication issue, on the contrary. Not that
there's much information you've actually given, e.g. you mention
specific CSNs but they are missing in the logs you refer to, etc.

> I wonder whether I have to empty or delete the corresponding
> accesslog, or is there some other step to perform?

Yes, in deltasync the provider's accesslog is tightly linked to its main
DB, so any time you make offline changes to the main DB, you either wipe
accesslog (preferably) or restore it in lockstep.

> Is delta syncrepl looking at the accesslog only to detect changes?

It is replicating from it if it can: you can get conflicting writes in a
multi-writer environment which is when OpenLDAP has to fall back to
plain syncrepl to resolve them and then switches back to pulling them
from accesslog.

Regards,

-- 
Ondřej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP

Reply via email to