Skip to content

Fix LockRecursionException when doing FindById#2488

Merged
JKamsker merged 5 commits intolitedb-org:masterfrom
JKamsker:fix-2471
Jun 4, 2024
Merged

Fix LockRecursionException when doing FindById#2488
JKamsker merged 5 commits intolitedb-org:masterfrom
JKamsker:fix-2471

Conversation

@JKamsker
Copy link
Copy Markdown
Collaborator

@JKamsker JKamsker commented Jun 1, 2024

Fixes #2471, #2435, #2483

Problem was, that the enumerator did not release the readlock when doing FindById. When the Checkpoint then tried to aquire a writelock, the semaphore threw an exception, because there was still a readlock pending.

@JKamsker
Copy link
Copy Markdown
Collaborator Author

JKamsker commented Jun 1, 2024

Ok just found out it was already fixed by #2436 but this fix here has a easier git comparison and tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] LockRecursionException thrown in very simple use case

1 participant