https://bugs.openldap.org/show_bug.cgi?id=9390
Issue ID: 9390 Summary: syncrepl: Fix debug message for size limit exceeded Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: fumiyas@osstech.co.jp Target Milestone: ---
Created attachment 778 --> https://bugs.openldap.org/attachment.cgi?id=778&action=edit Proposed patch for OPENLDAP_REL_ENG_2_4 branch
In server/slapd/syncrepl.c:dn_callback():
} else if ( rs->sr_type == REP_RESULT ) { if ( rs->sr_err == LDAP_SIZELIMIT_EXCEEDED ) { Debug( LDAP_DEBUG_ANY, "dn_callback : consistency error - " "entryUUID is not unique\n", 0, 0, 0 ); } }
Is this wrong debug message?
https://bugs.openldap.org/show_bug.cgi?id=9390
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to SATOH Fumiyasu from comment #0)
Created attachment 778 [details] Proposed patch for OPENLDAP_REL_ENG_2_4 branch
In server/slapd/syncrepl.c:dn_callback():
} else if ( rs->sr_type == REP_RESULT ) { if ( rs->sr_err == LDAP_SIZELIMIT_EXCEEDED ) { Debug( LDAP_DEBUG_ANY, "dn_callback : consistency error - " "entryUUID is not unique\n", 0, 0, 0 ); } }
Is this wrong debug message?
No.
https://bugs.openldap.org/show_bug.cgi?id=9390
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Specifically in this case, the sizelimit is set to 1 for this search, so if a sizelimit exceeded message is returned, it means that > 1 entry was returned for the entryUUID, which would be invalid since it's required to be unique.
https://bugs.openldap.org/show_bug.cgi?id=9390
--- Comment #3 from SATOH Fumiyasu fumiyas@osstech.co.jp --- Great thank you! I got it...