[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5455) EntryInfo state not reset if entry_db lock fails
Full_Name: Rein Tollevik
Version: CVS head
OS: linux and solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.93.160.250)
In bdb_cache_find_id() in servers/slapd/back-bdb/cache.c it decrements the
bei_finders of the EntryInfo and resets the loading flag in bei_state. These
statements are only run if locking the entry_db succeed, but as they reset state
the function has altered they should always be run. I.e, move these statements
and the surrounding lock calls out of the block they currently are in.
Rein Tollevik
Basefarm AS