[Date Prev][Date Next]
RE: back-bdb performance
At 11:57 AM 2001-12-15, Howard Chu wrote:
>> -----Original Message-----
>> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
>> Note that locking the parent may also be used to ensure multiple
>> children of the parent cannot be created with the same name.
>I don't see why this is so. dn2id_add will fail with DB_KEYEXIST if a second
>attempt is made to create a child with the same name as another. This will
>fail independent of locks on the parent.
One also has to ensure the parent isn't deleted before the
child is added...