[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ContextCSN values in 3-multimaster setup
- To: openldap-technical@openldap.org
- Subject: ContextCSN values in 3-multimaster setup
- From: Marc Franquesa <mark@l3jane.net>
- Date: Tue, 17 Jan 2017 14:11:38 +0100
- Dkim-filter: OpenDKIM Filter v2.9.2 chevy.l3jane.net 3D75930
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=l3jane.net; s=mail; t=1484658702; bh=40rOe9yFojgu4Ul+SoG6nfmq0sWC+nVpICRKhIfcfz4=; h=Subject:From:Reply-To:To:Date:From; b=MRSAHQb1hdRAP4gGmtUZkUZ14WfJSvBMbLFp4B1p2lB5kHtbqmmdavnwnT8sUhdhs 2EgH2bkCdSptYHdmJ+Lhxz+/a9a40833zrCmoYNoYhS5W2hRHzKf4nopN2h/fdakfR L0nESRb5pFQRPVDnJrb9nNWzaRlZ1kiJmFNNXCmQ=
- Organization: Lady 3Jane
Hi all
I finally got working a new setup with 3-node multimaster replication
for both the main DIT and cn=config tree.
Now I'm trying to monitor the replication status or all the nodes so I
focused on examining the contextCSN value of the root of the DBs, and
although I googled and reviewed other posts on the mailing list I'm
still not sure to understand correctly its use.
As far as I understood (please correct me if I'm wrong):
- Each DB backend which is replicated will have its own and independent
contextCSN at the root of the replicated DN (so I have 2 DBs:
cn=config, and dc=domain,dc=net, each one will have its own contextCSN
attribute).
- Each master which is running as a sync provider will update one value
on the contextCSN values. So, as I have multi-master replication
between 3 nodes (3 providers), I should have 3 different values of
contextCSN in each DB.
... so, why I'm seeing 4 values (identical on all servers as they are
in sync):
contextcsn: 20170111084028.692133Z#000000#001#000000
contextcsn: 20161228225757.121969Z#000000#004#000000
contextcsn: 20160201102250.543748Z#000000#005#000000
contextcsn: 20150917152138.054326Z#000000#006#000000
In the past I migrated some server, added some other node so is
possible that a 'ghost' provider CSN is still on the DB ?
Another point is the syntax of that value... Has any special meaning?
It seems that the first part is a timestamp with milisecond resolution,
but I would like to know the meaning of the 3 digits between #xxx# Are
they the ServerId ? or the rid in the replication ?
Please enlight me
Thanks for any details