question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LiteDB.LiteException: 'Collection 'nameOfCollection' lock timeout when entering in reserved mode after 00:01:00

See original GitHub issue

LiteDB.LiteException HResult=0x80131500 Message=Collection ‘UserAccount’ lock timeout when entering in reserved mode after 00:01:00 Source=LiteDB StackTrace: at LiteDB.Engine.LockService.EnterReserved(String collectionName) at LiteDB.Engine.Snapshot…ctor(LockMode mode, String collectionName, HeaderPage header, UInt32 transactionID, TransactionPages transPages, LockService locker, WalIndexService walIndex, DiskReader reader, Boolean addIfNotExists) at LiteDB.Engine.TransactionService.<CreateSnapshot>g__create|38_0(<>c__DisplayClass38_0& ) at LiteDB.Engine.TransactionService.CreateSnapshot(LockMode mode, String collection, Boolean addIfNotExists) at LiteDB.Engine.LiteEngine.<>c__DisplayClass26_0.<Update>b__0(TransactionService transaction) at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func2 fn) at LiteDB.Engine.LiteEngine.Update(String collection, IEnumerable1 docs) at LiteDB.LiteCollection1.Update(T entity) at LiteDB.LiteRepository.Update[T](T entity, String collectionName) at ViettelIM.Core.Persistence.Repositories.UserAccountRepository.Update(UserAccount resource) in D:\Projects\CSharp\Desktop app\Viettel Change SIM AI\ViettelIM.Core\Persistence\Repositories\UserAccountRepository.cs:line 35 at ViettelIM.Core.Services.UserAccountService.<>c__DisplayClass5_0.<UpdateAsync>b__0() in D:\Projects\CSharp\Desktop app\Viettel Change SIM AI\ViettelIM.Core\Services\UserAccountService.cs:line 98 at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)

This exception was originally thrown at this call stack: LiteDB.Engine.LockService.EnterReserved(string) LiteDB.Engine.Snapshot.Snapshot(LiteDB.Engine.LockMode, string, LiteDB.Engine.HeaderPage, uint, LiteDB.Engine.TransactionPages, LiteDB.Engine.LockService, LiteDB.Engine.WalIndexService, LiteDB.Engine.DiskReader, bool) LiteDB.Engine.TransactionService.CreateSnapshot.__create|38_0(ref LiteDB.Engine.TransactionService.<>c__DisplayClass38_0) LiteDB.Engine.TransactionService.CreateSnapshot(LiteDB.Engine.LockMode, string, bool) LiteDB.Engine.LiteEngine.Update.AnonymousMethod__0(LiteDB.Engine.TransactionService) LiteDB.Engine.LiteEngine.AutoTransaction<T>(System.Func<LiteDB.Engine.TransactionService, T>) LiteDB.Engine.LiteEngine.Update(string, System.Collections.Generic.IEnumerable<LiteDB.BsonDocument>) LiteDB.LiteCollection<T>.Update(T) LiteDB.LiteRepository.Update<T>(T, string) ViettelIM.Core.Persistence.Repositories.UserAccountRepository.Update(ViettelIM.Core.Domain.Models.UserAccount) in UserAccountRepository.cs … [Call Stack Truncated]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
behroozbccommented, May 23, 2021

hi I get same error in 5.0.10 {"Collection 'SerialPortData' lock timeout when entering in write mode after 00:01:00"}

0reactions
JensSchadroncommented, Feb 4, 2020

Closing the issue as it has been resolved by updating to 5.0.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found