James Anderson wrote:
the mdb_env_open documentation includes in its note about NOTLS, that
A read-only transaction may span threads if the user synchronizes its use.
to which read-only operations would this constraint apply?
The only safe approach is to ensure that a txn is not active simultaneously in multiple threads.
mdb_cursor_open and mdb_cursor_close look as if they modify transaction state for write transactions only.
best regards, from berlin