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

inefficient locking on recv of peers lists can result in fail… #3570

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

antiochp
Copy link
Member

…ure to get peers lock (#3566)

  • fix for: inefficient locking of peers lists can result in failure to get peers lock

  • dont hold the peers Vec lock while writing to the peers lmdb

Cherry-picked #3566 across from 5.0.x branch.

…ure to get peers lock (mimblewimble#3566)

* fix for: inefficient locking of peers lists can result in failure to get peers lock

* dont hold the peers Vec lock while writing to the peers lmdb
@antiochp antiochp merged commit a3c9b47 into mimblewimble:master Feb 22, 2021
@antiochp antiochp deleted the peers_list_locking_master branch February 22, 2021 15:18
@antiochp antiochp mentioned this pull request May 6, 2021
bayk added a commit to mwcproject/mwc-node that referenced this pull request Jun 12, 2024
…t in failure to get peers lock (mimblewimble#3566) (mimblewimble#3570)

* fix for: inefficient locking of peers lists can result in failure to get peers lock
* dont hold the peers Vec lock while writing to the peers lmdb
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.

2 participants