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

(ITS#7369) mdb_stat leaves an open transaction if a subdatabase does not exist

Full_Name: Ondrej Kuznik
Version: mdb.master
OS: Linux
Submission from: (NULL) (

If mdb_stat fails (e.g. "mdb_stat db/ this_subdb_does_not_exist"), it exits
immediately rather than abort the txn and close the env.

When another process has the mdb environment open while this happens, as long as
it does not close it, no new transaction can be initiated. The whole env then
effectively becomes read-only and unopenable for new processes.