https://bugs.openldap.org/show_bug.cgi?id=9688
Issue ID: 9688 Summary: Is EQ index on entryCSN mandatory for replication? Product: OpenLDAP Version: 2.5.7 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: documentation Assignee: bugs@openldap.org Reporter: dpa-openldap@aegee.org Target Milestone: ---
https://www.openldap.org/devel/admin/replication.html says about the EQ index on entryCSN: “On databases which support inequality indexing, setting an eq index on the entryCSN attribute and configuring contextCSN checkpoints will greatly speed up this scanning step.” → The index is recommended, but not mandatory, and not always possible.
man 5 slapo-syncprov / https://www.openldap.org/software/man.cgi?query=slapo-syncprov&apropos=0... says “On databases that support inequality indexing, it is mandatory to set an eq index on the entryCSN attribute when using this overlay.”
Between both documents there is a discrepancy, whether the EQ index is mandatory or not.
https://bugs.openldap.org/show_bug.cgi?id=9688
--- Comment #1 from dpa-openldap@aegee.org dpa-openldap@aegee.org --- In fact, apart from saying, that the EQ index is mandatory, the manual pages adds “When using the session log, it is helpful to set an eq index on the entryUUID attribute in the underlying database.”
So the manual page is inconsistent, whether the index is mandatory or helpful.
https://bugs.openldap.org/show_bug.cgi?id=9688
--- Comment #2 from dpa-openldap@aegee.org dpa-openldap@aegee.org --- As, I see now again in the manpage, it says precisely:
for EntryCSN the eq Index is mandatory, for EntryUUID the eq Index is helpful.
https://bugs.openldap.org/show_bug.cgi?id=9688
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Assignee|bugs@openldap.org |quanah@openldap.org Target Milestone|--- |2.5.8
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- change man page to say highly recommended
https://bugs.openldap.org/show_bug.cgi?id=9688
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/405
https://bugs.openldap.org/show_bug.cgi?id=9688
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- • bdd8793c by Quanah Gibson-Mount at 2021-09-15T15:11:10+00:00 ITS#9688 - entryCSN equality indexing is highly recommended
https://bugs.openldap.org/show_bug.cgi?id=9688
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• cfe7566c by Quanah Gibson-Mount at 2021-09-15T17:34:46+00:00 ITS#9688 - entryCSN equality indexing is highly recommended
RE25:
• 48020ccf by Quanah Gibson-Mount at 2021-09-15T17:35:26+00:00 ITS#9688 - entryCSN equality indexing is highly recommended
https://bugs.openldap.org/show_bug.cgi?id=9688
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED