[Fedora-directory-devel] Please review: [Bug 183222] Directory Server hangs when running VLV search and update operations simultaneously.

Noriko Hosoi nhosoi at redhat.com
Thu Dec 7 18:56:04 UTC 2006


Summary: Directory Server hangs when running VLV search and update operations simultaneously.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183222

There was another deadlock case between delete and vlv search...

------- Additional Comments From nhosoi at redhat.com  2006-12-07 13:47 EST -------
Created an attachment (id=143078)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=143078&action=view)
cvs diff vlv.c

File:
  back-ldbm/vlv.c

Problem description:
There was another source of deadlock.
vlv_build_candidate_list creates db cursor in it.  The current code locks the
vlvSearchList, calls vlv_build_candidate_list, then unlock it after the
function returns.  Creating db cursor should not be inside of the vlvSearchList
lock.

Changes:
Before creating db cursor, unlock vlvSearchList.  It should be safe since there
is no chance to traverse the vlvSearchList.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20061207/6cd91077/attachment.bin>


More information about the Fedora-directory-devel mailing list