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

(ITS#4384) contextCSN not updating



Full_Name: Quanah Gibson-Mount
Version: 2.3.18
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.66.155.86)


I set up my replicas to have the syncprov overlay in place so that I can later
transition them to delta-syncrepl with minimal issues.  Doing this should
theoretically keep the contextCSN up to date when they get a modification from
the master via slurpd.  However, although the master's CSN is being kept up to
date:

tribes:~> ldapsearch -LLL -Q -h ldap0 -s base -b "dc=stanford,dc=edu"
dc=stanford contextcsn
dn: dc=stanford,dc=edu
contextCSN: 20060203020815Z#000000#00#000000

The CSN of the replicas is only getting set once a day, when they restart after
nightly log rotations.

slave CSN: contextCSN: 20060202120729Z#000000#00#000000

Even though many changes have gone through during the day, and I have a syncprov
checkpoint of 1000 60 (so it should be checkpointing the CSN every 60 seconds at
the least).

However, given 3 MODs, where one happened more than 3 minutes before the latest
MOD,   this isn't happening.  That MOD's entryCSN is:

entryCSN: 20060203020749Z#000000#00#000000

so that is what I'd expect the replicas contextCSN to be at a minimum.