https://bugs.openldap.org/show_bug.cgi?id=9342
Issue ID: 9342 Summary: delta-sync: relax requirements on delete ops Product: OpenLDAP Version: 2.4.52 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: hyc@openldap.org Target Milestone: ---
Currently if the delta-sync consumer encounters any unexpected changes it always falls back to a regular refresh. We should allow it to proceed when a Delete op fails with NoSuchObject. While unexpected changes are still an indication of inconsistent logs, we can still safely advance to the next op in the sequence before giving up (if necessary) since the outcome is the same.
The plain syncrepl consumer already has the same behavior for delete ops.
https://bugs.openldap.org/show_bug.cgi?id=9342
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.4.54
https://bugs.openldap.org/show_bug.cgi?id=9342
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- trunk:
Commits: • 8bd2d1fe by Howard Chu at 2020-09-09T00:19:35+01:00 ITS#9342 delta-sync: ignore error if deleting an already deleted entry
https://bugs.openldap.org/show_bug.cgi?id=9342
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- RE24:
• 3a69fd12 by Howard Chu at 2020-09-09T16:36:19+00:00 ITS#9342 delta-sync: ignore error if deleting an already deleted entry
https://bugs.openldap.org/show_bug.cgi?id=9342
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- trunk:
commit ed949bf287a39e538c9e5704b2bb50810c241f2f Author: Howard Chu hyc@openldap.org Date: Wed Sep 30 10:15:36 2020 +0100
ITS#9342 delta-sync: ignore add if entryCSN is too old
This check is only needed for ops received without a CSN in their cookie. This only occurs when the ops completed out of order on the provider.
https://bugs.openldap.org/show_bug.cgi?id=9342
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- RE24:
commit c9b8deba1ed9d051e3a45d3fd54d4c5dc42f2097 Author: Howard Chu hyc@openldap.org Date: Wed Sep 30 10:15:36 2020 +0100
ITS#9342 delta-sync: ignore add if entryCSN is too old
This check is only needed for ops received without a CSN in their cookie. This only occurs when the ops completed out of order on the provider.
https://bugs.openldap.org/show_bug.cgi?id=9342
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED