https://bugs.openldap.org/show_bug.cgi?id=9557
Issue ID: 9557 Summary: syncrepl refreshonly sometimes finishes too early Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: replication Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
In a delta-MMR test environment where conflicts are intentionally introduced, the fallback sessions sometimes cut off, not sending all entries they ought to.
Instead LDAP_SUCCESS is sent with the snapshot cookie at some point. That cookie represents the correct contextCSN at the time of the search, so the missing changes are skipped over forever.
As of now, the cause of the cutoff is under investigation. Currently, this was only run with 2.5 + persistent sessionlog enabled but there are indications this might not be limited to 2.5, tests with other versions/configs are pending.
https://bugs.openldap.org/show_bug.cgi?id=9557
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.5
https://bugs.openldap.org/show_bug.cgi?id=9557
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|bugs@openldap.org |hyc@openldap.org Status|UNCONFIRMED |IN_PROGRESS
--- Comment #1 from Howard Chu hyc@openldap.org --- Preliminary fix in master, more testing still underway
https://bugs.openldap.org/show_bug.cgi?id=9557
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.5 |2.4.59
https://bugs.openldap.org/show_bug.cgi?id=9557
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 3ca79051 by Howard Chu at 2021-05-27T12:48:36+01:00 ITS#9557 back-mdb: fix mdb_waitfixup for candidate-based searches
Off-by-one left last scope unrefreshed
https://bugs.openldap.org/show_bug.cgi?id=9557
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |TEST
https://bugs.openldap.org/show_bug.cgi?id=9557
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED Keywords|replication |
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE25:
Commits: • 0f44c86f by Howard Chu at 2021-06-01T17:55:42+00:00 ITS#9557 back-mdb: fix mdb_waitfixup for candidate-based searches
RE24:
Commits: • 1a26e13a by Howard Chu at 2021-06-01T17:56:47+00:00 ITS#9557 back-mdb: fix mdb_waitfixup for candidate-based searches
https://bugs.openldap.org/show_bug.cgi?id=9557
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED