hyc@openldap.org wrote:
Full_Name: Howard Chu Version: 0.9.24 OS: Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (84.203.24.208) Submitted by: hyc
There are some cases when renewing a cursor in a read-only txn that may return MDB_BAD_DBI if the DBI has gone stale. This error is spurious, the check is only supposed to be done in writable txns (see ITS#7825).
A patch was pushed to mdb.master, but it is apparently not actually needed. The actual problem was caused by reusing a readtxn that had been left open after its original env had been closed and re-opened. This is a misuse of the API, all txns must be closed before closing the env.
Ignore this issue.