]> git.sur5r.net Git - openldap/commit
ITS#8789 avoid unnecessary writes of context entry
authorHoward Chu <hyc@openldap.org>
Wed, 31 Jan 2018 15:19:58 +0000 (15:19 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 21 Feb 2018 19:51:59 +0000 (19:51 +0000)
commite0cc94a0b72d1fb866c406dc7c940bba9010c84f
treea7f993e143ceb310a6338ee12eeb6eb812270e05
parent434c306cbefeafe40f638ed3df93d630c996f9e5
ITS#8789 avoid unnecessary writes of context entry

If syncprov is present, only write contextCSN attribute on
actual state changes, not on per-entry modifications.
Continue to update in-memory cookieState. Saves overhead,
syncprov will eventually checkpoint it into the DB anyway.
servers/slapd/syncrepl.c