]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 21 Feb 2018 20:22:49 +0000 (20:22 +0000)
commit8ab4308c636447ea8a1c709d5f54b0537cca41c0
tree5ccb368f63efb15cb890897cf8d73a524d8feac6
parent1166ca72454e9541040f7b25cb3369e300b8980f
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