lmdb: is read operation permitted inside the write transaction?