Describe the bug
When I call Upsert function in two thread, this exception might occur occasionally.
---> LiteDB.LiteException: Use EnterTransaction() before EnterLock(name)
at LiteDB.Engine.EngineState.Validate()
at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func2 fn) at LiteDB.LiteCollection1.Upsert(T entity)
Version 5.019/OS/.NET 8. (REQUIRED)
Describe the bug When I call Upsert function in two thread, this exception might occur occasionally.
---> LiteDB.LiteException: Use EnterTransaction() before EnterLock(name) at LiteDB.Engine.EngineState.Validate() at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func
2 fn) at LiteDB.LiteCollection
1.Upsert(T entity)