You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reopening same environment, and performing just about the same transaction is totally fine. But when I create env, or copy env which was created, but never written to - transaction fails. Most likely an issue with LMDB, but since people using this project might have seen something like that - I'm asking it here. code for reproducing - there is quite a lot going on in Repository class. Just attempting to save 39KB results in an error, so I commented the line this.documentDB.put(tx, key.adday(), doc._2)
Any clues would be appreciated.
UPD: Now I see #70 . Probably there is nothing more specific on this behavior.
The text was updated successfully, but these errors were encountered:
kk00ss
changed the title
MDB_BAD_TXN on newely created environment.
Failed transaction, executes after reopening Env. But won't execute on newely created Env
Jun 27, 2016
It's strange but environment is changed after failed transaction, only headers. They probably contain the answer of why it works after restart. Hex compare of mdb files. I guess nothing else is changed - so I'm closing the issue..
Reopening same environment, and performing just about the same transaction is totally fine. But when I create env, or copy env which was created, but never written to - transaction fails. Most likely an issue with LMDB, but since people using this project might have seen something like that - I'm asking it here.
code for reproducing - there is quite a lot going on in
Repository
class. Just attempting to save 39KB results in an error, so I commented the line this.documentDB.put(tx, key.adday(), doc._2)Any clues would be appreciated.
UPD: Now I see #70 . Probably there is nothing more specific on this behavior.
The text was updated successfully, but these errors were encountered: