[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Openldap ldbm cache corruption

I'm think we need to completely rethink how our LDBM
cache design.

1)  I believe we should modify the in-core Entry structure
to contain dn in both 'provided' and 'normalized' formats.
The 'provided' format would be used when providing the
dn in results, but the 'normalized' would be used for
all operations.

2)  I believe we should consider moving to a per-backend
reader/writer lock instead of per-entry reader/writer locks.
I believe per-entry locks are too fine grain and hinder