]> git.sur5r.net Git - openldap/commit
cache: implement try_again loop if cache entry is not ready.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 2 Apr 1999 19:09:59 +0000 (19:09 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 2 Apr 1999 19:09:59 +0000 (19:09 +0000)
commite46877f89f218a4acb6cfb9161b114febf73ac71
treec3d2664994a4e704d8f93ea8f3f456a789059f2d
parentff5f9edc0487b1ee15e6823354ede5de9c8e1811
cache: implement try_again loop if cache entry is not ready.
id2entry: when an error occurs attempting to insert fetched
entry into cache, check to see if entry was added by another
thread.  If so, return the entry added by the other thread.
The concurrency tests now run without the dreaded "no such object"
error messages!
servers/slapd/back-bdb2/cache.c
servers/slapd/back-bdb2/id2entry.c
servers/slapd/back-ldbm/cache.c
servers/slapd/back-ldbm/id2entry.c