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

Adjust Merkledb Trie invalidation locking #1355

Merged
merged 3 commits into from
Apr 17, 2023
Merged

Conversation

dboehm-avalabs
Copy link
Contributor

Adjust the locking around trieview invalidation. It currently remains locked while invalidating all of the children. Change it to only lock to update its child list, then give up the lock before invaliding the children.

@dboehm-avalabs dboehm-avalabs changed the base branch from master to dev April 14, 2023 20:27
@danlaine danlaine merged commit 07fdbd9 into dev Apr 17, 2023
@danlaine danlaine deleted the AdjustInvalidationLocking branch April 17, 2023 16:26
joshua-kim pushed a commit to joshua-kim/avalanchego that referenced this pull request Apr 28, 2023
@patrick-ogrady patrick-ogrady added this to the v1.10.1 milestone Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants