https://bugs.openldap.org/show_bug.cgi?id=9585
Issue ID: 9585 Summary: Admin guide: Need example sparse replication configuration Product: OpenLDAP Version: 2.5.5 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: documentation Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
The admin guide states:
Syncrepl supports partial, sparse, and fractional replications
but there are no example configurations for sparse replication to draw from. This needs to be added to the guide.
https://bugs.openldap.org/show_bug.cgi?id=9585
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs_review
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- The terms were discussed when Syncrepl was introduced in 2003 https://openldap.org/conf/odd-sfo-2003/choi.html
They've been standard in LDAP terminology for a while. E.g. Oracle documents fractional replication as well. https://docs.oracle.com/cd/E20295_01/html/821-1220/bcaqk.html
To summarize: fractional and sparse are two types of partial replication. Partial replication is anything that doesn't replicate the complete set of data from the provider.
Fractional means some attributes are excluded. One has to be careful configuring fractional and avoid excluding MUST attributes (or turn off schema checking on consumer). This is configured using the exattr=<attrs> keyword in a consumer config.
Sparse means some entries are excluded. By filtering, DN/scope restrictions, etc in the consumer config.
Just another note: Fractional can also be configured using attrs=<...>. In either case, only a subset of attributes are replicated.
Use case is when replicating different subsets of attributes from different providers.
https://bugs.openldap.org/show_bug.cgi?id=9585
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=9586
https://bugs.openldap.org/show_bug.cgi?id=9585
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.6.0 Keywords|needs_review | Assignee|bugs@openldap.org |quanah@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9585
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/397
https://bugs.openldap.org/show_bug.cgi?id=9585
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • d52c60a0 by Quanah Gibson-Mount at 2021-09-08T18:31:24+00:00 ITS#9585, ITS#9586 - Document fractional and sparse replication
https://bugs.openldap.org/show_bug.cgi?id=9585
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
Commits: • e4074464 by Quanah Gibson-Mount at 2021-09-08T20:47:41+00:00 ITS#9585, ITS#9586 - Document fractional and sparse replication
https://bugs.openldap.org/show_bug.cgi?id=9585
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED