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

RE: search blocks modify -- why?



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Allan Streib

> OK, I think I understand that with the ldbm backend, locking 
> is done at a
> file level.  I assume this means that id2entry.dbb is locked 
> whenever a
> modify is in progress.  But can someone explain or summarize 
> the various
> locking scenarios for both search and modify, and when one 
> might block the
> other?  Does search by default put the equivalent of a read 
> lock on the
> file, which could block a modify while the search runs?

Yes.

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