https://bugs.openldap.org/show_bug.cgi?id=9361
Issue ID: 9361 Summary: accesslog logpurge generates new CSNs for its deletes Product: OpenLDAP Version: 2.4.53 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: hyc@openldap.org Target Milestone: ---
The delete operations that are performed by logpurge are for internal bookkeeping purposes and should not have new CSNs attached to them. In the current code, since each delete has a new valid CSN, the logDB's contextCSN becomes newer than its main DB's, and this can trigger the syncprov on the logDB to send NEW_COOKIE messages to all delta consumers. Meanwhile, the mainDB's contextCSN hasn't changed. As a result, the consumers' contextCSN for that SID will be newer than the provider's.
Fix coming shortly.
https://bugs.openldap.org/show_bug.cgi?id=9361
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Target Milestone|--- |2.4.54 Resolution|--- |TEST
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- Trunk:
https://bugs.openldap.org/show_bug.cgi?id=9361
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- RE24:
Commits: • 068722a3 by Howard Chu at 2020-10-02T22:16:09+00:00 ITS#9361 prevent CSN from being generated for purge deletes
https://bugs.openldap.org/show_bug.cgi?id=9361
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED