Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix NDFs in stores unit tests. #1185

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Fix NDFs in stores unit tests. #1185

merged 2 commits into from
Apr 22, 2024

Conversation

peterjan
Copy link
Member

Making slab pruning asynchronous introduced some NDFs where we run into various database is locked related errors, this PR wraps three methods that trigger these NDFs and blocks on the bg loop pruning the necessary slabs. While testing I found we're not properly closing connections in some tests.

@peterjan peterjan self-assigned this Apr 22, 2024
@peterjan peterjan marked this pull request as ready for review April 22, 2024 11:42
@peterjan peterjan mentioned this pull request Apr 22, 2024
@ChrisSchinnerl ChrisSchinnerl merged commit 5847772 into dev Apr 22, 2024
9 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/stores-ndfs branch April 22, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants