On Mon, 10 Jan 2011 08:52:46 -0500
Simo Sorce <ssorce(a)redhat.com> wrote:
On Mon, 10 Jan 2011 09:45:27 +0100
Sumit Bose <sbose(a)redhat.com> wrote:
> On Fri, Jan 07, 2011 at 03:01:18PM -0500, Stephen Gallagher wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 01/07/2011 02:23 PM, Sumit Bose wrote:
> > > On Fri, Jan 07, 2011 at 12:25:44PM -0500, Stephen Gallagher
> > > wrote: Libldb performs non-indexed searches for ONELEVEL
> > > requests. We'll use SUBTREE instead to reduce the performance
> > > hit substantially
> > >
> > >
> > >> I agree with the patch, but please add a comment to avoid that
> > >> LDB_SCOPE_ONELEVEL is accidentally reintroduced as an
> > >> "optimization".
> > >
> >
> > Comments added.
>
> Thank you.
>
> ACK
Apparently it is not a bug in ldb, but in owr own indexing
configuration.
Please hold on applying this patch.
I will send shortly a new one about indexes configuration.
Given the one level indexing does not help feel free to push this patch.
Simo.
--
Simo Sorce * Red Hat, Inc * New York