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

RE: back-bdb performance



> -----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.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support