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
LiteDB ENSURE: get only index below highest index
Message: LiteDB ENSURE: get only index below highest index
Type: Exception
Stack Trace
System.Exception: LiteDB ENSURE: get only index below highest index
at LiteDB.Constants.ENSURE(Boolean conditional, String message)
at LiteDB.Engine.BasePage.Get(Byte index)
at LiteDB.Engine.LiteEngine.GetLastId(Snapshot snapshot)
at LiteDB.Engine.LiteEngine.<>c__DisplayClass15_0.<GetSequence>b__0(String s)
at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
at LiteDB.Engine.LiteEngine.GetSequence(Snapshot snapshot, BsonAutoId autoId)
at LiteDB.Engine.LiteEngine.InsertDocument(Snapshot snapshot, BsonDocument doc, BsonAutoId autoId, IndexService indexer, DataService data)
at LiteDB.Engine.LiteEngine.<>c__DisplayClass7_0.<Insert>b__0(TransactionService transaction)
at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func`2 fn)
at LiteDB.LiteCollection`1.Insert(T entity)
Constant error on insert after my collection reached exactly 1000 elements. Found a similar issue but it isn't fixed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Constant error on insert after my collection reached exactly 1000 elements. Found a similar issue but it isn't fixed.
DB file: https://mega.nz/file/sx4AAIpT#1nzxO_Nikz3I4uKXC_VpnJl7aUv4FxGYp-DVXk-0tW4
I only replaced sensitive data and didn't touch anything else.
Beta Was this translation helpful? Give feedback.
All reactions