Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix LockRecursionException when doing FindById #2488

Merged
merged 5 commits into from
Jun 4, 2024

Conversation

JKamsker
Copy link
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
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.

@JKamsker JKamsker merged commit e01b1f3 into litedb-org:master Jun 4, 2024
1 check passed
# for free to join this conversation on GitHub. Already have an account? # 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