On Mon, Feb 05, 2024 at 10:51:03AM +0100, Marc Franquesa wrote:
> This bring me a new question (which I think I already get replied or found
> in some place but now I'm unable to find)
> 
> On a multiple replica setup (N-way Multimaster) setup, how does the server
> identify itself in the multiple olcSyncrepl attributes to avoid trying to
> replicate against itself ?

Hi Marc,
the main mechanism is that syncrepl stanzas where provider matches one
of our configured URIs are not activated. And since you need to have
olcServerID URIs set up as well, that's usually it.

There's also some filtering based on the serverID as transmitted in the
consumer's cookie but that's only a partial reduction. Regardless, even
if a server started replicating from themselves you should experience no
issues/endless loops if that's what you're worried about.

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