On 06/09/2017 03:18 PM, albert.luo@uwindsor.ca wrote:
> Hi,
>
> In the following example, consumer replica v1.3 return err=11 with no entries. v1.2 return err=4, with the first 20 entries which is the size limit. Is this difference a change in the implementation or a configuration difference I am missing?
if a search is not indexed it will look thru all the entries in the
order of the entryid, but the entryids are local to the server as key
into the database. Since your 1.2 supplier has probably a longer history
than the 1.3 consumer, entries will most likely have different entryids.
If a search runs thru the database in entryid sequence, it stops when
the first limit is reached and it could be different on both servers
>
> The look through limit is the default 5000. The tree has more than 50,000 entries.
>
> What is even more puzzling is that the master repica running v1.3 return the same result as v1.2. Only consumer replica v1.3 return err=11 with no entry.
>
> Thank you very much.
>
>
> 389-Directory/1.3.5.10 B2017.115.1411, consumer replica
>
> $ ldapsearch -x -H ldaps://ldapv1.3:636 -b "ou=People,dc=example,dc=com" -s one -a always -z 1000 "(objectClass=*)" "hasSubordinates" "objectClass"
> # extended LDIF
> #
> # LDAPv3
> # base <ou=People,dc=example,dc=com> with scope oneLevel
> # filter: (objectClass=*)
> # requesting: hasSubordinates objectClass
> #
>
> # search result
> search: 2
> result: 11 Administrative limit exceeded
>
> # numResponses: 1
>
> access log:
> RESULT err=11 tag=101 nentries=0 etime=0 notes=A
>
>
>
> 389-Directory/1.2.11.15 B2016.155.1910
>
>
> $ ldapsearch -x -H ldaps://ldapv1.2:636 -b "ou=People,dc=example,dc=com" -s one -a always -z 1000 "(objectClass=*)" "hasSubordinates" "objectClass"
> # extended LDIF
> #
> # LDAPv3
> # base <ou=People,dc=uwindsor,dc=ca> with scope oneLevel
> # filter: (objectClass=*)
> # requesting: hasSubordinates objectClass
> #
>
> ….
>
> # search result
> search: 2
> result: 4 Size limit exceeded
>
> # numResponses: 21
> # numEntries: 20
> access log
> RESULT err=4 tag=101 nentries=20 etime=0 notes=A
>
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
--
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
No comments:
Post a Comment