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

make push and addLocal atomic #4500

Merged
merged 1 commit into from
Oct 22, 2020
Merged

make push and addLocal atomic #4500

merged 1 commit into from
Oct 22, 2020

Conversation

vyzo
Copy link
Contributor

@vyzo vyzo commented Oct 20, 2020

Seems there is a race where it is possible that a pushed message disappears if there is a prune before we do the addLocal dance; lock is temporarily relinquished.

@magik6k magik6k merged commit 88ac85b into master Oct 22, 2020
@magik6k magik6k deleted the fix/mpool-push-atomicity branch October 22, 2020 17:43
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.

3 participants