[Date Prev][Date Next]
RE: back-bdb future
At 10:06 AM 3/16/2003, Howard Chu wrote:
>Do we still have read deadlock problems?
Yes. Jong hit one yesterday when testing on an 8-way.
>I haven't seen any. I believe read
>transactions can only hurt things, because locks are held for the life of the
>transaction. Reads outside of transactions release their locks right away,
>which assures that their locks cause the least possible interference.
The key, I think, is to use N+2 transactions. 1 for finding the
baseObject, 1 for determining the candidate set, 1 for each candidate.
That way, each lock is not held for an excessive period of time.