[Date Prev][Date Next]
(ITS#7369) mdb_stat leaves an open transaction if a subdatabase does not exist
Full_Name: Ondrej Kuznik
Submission from: (NULL) (184.108.40.206)
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.