Curious "missing parent" check in mdb_idscopes(), how may this occur?

2019-10-28 Thread Konstantin Andreev
Hi, I am contemplating the mdb search mechanics, and puzzled by "missing parent" check in mdb_idscopes(): | /* If we didn't advance, some parent is missing */ | if ( id == prev ) | return MDB_NOTFOUND; where "id" and "prev" are parent and child ids that come from the same "UP"

Re[2]: Curious "missing parent" check in mdb_idscopes(), how may this occur?

2019-10-30 Thread Konstantin Andreev
/devel/gitweb.cgi?p=openldap.git;a=blob;f=servers/slapd/back-mdb/dn2id.c;h=93fd3e387e968a1928eaa0f82211bcbc3687e777;hb=HEAD#l782 don't find a result, then id doesn't get advanced any further. This can happen in a pagedResults search when the underlying set of entries changes between page requests. Kons