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

RE: back-bdb future

>Um... I wonder if this is because we make BDB wrap all DB->open calls in
>their own transactions? (See back-bdb.h, DB_AUTO_COMMIT.) This may be the
>problem; we should have propagated the DB_TXN from bdb_index_values into
>bdb_db_cache. For bdb_index_param which is used for searches, we shouldn't
>use a txn. I've got this patched, can you see if it makes a difference?

I'll try that as soon as I can. But unluckily not before this weekend.
BTW, could it be a BDB bug for DB->open with DB_AUTO_COMMIT set not to take
care of
deadlock properly ?