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

Remove publish snapshot race condition #1895

Merged

Conversation

marta-lokhova
Copy link
Contributor

@marta-lokhova marta-lokhova commented Jan 4, 2019

partially deals with #1750 by always publishing snapshots from the publish queue.

@MonsieurNicolas
Copy link
Contributor

this work is scheduled for 11.1 (in order to take advantage of the updated Work), any reason to do this fix now?

@marta-lokhova
Copy link
Contributor Author

I had this fix for a while actually. This particular race condition bug seems unrelated to the new Work interface (new Work doesn't touch anything related to when/how publish is triggered), hence a different PR.

@MonsieurNicolas
Copy link
Contributor

r+ 628e8a7

@MonsieurNicolas
Copy link
Contributor

(btw I changed your comment to not say "resolves X" to avoid auto-closing the issue ; I don't think github is smart enough to see that there was a "partially" in front) @marta-lokhova

@marta-lokhova
Copy link
Contributor Author

(btw I changed your comment to not say "resolves X" to avoid auto-closing the issue ; I don't think github is smart enough to see that there was a "partially" in front) @marta-lokhova

good call, thanks!

latobarita added a commit that referenced this pull request Jan 4, 2019
Remove publish snapshot race condition

Reviewed-by: MonsieurNicolas
@latobarita latobarita merged commit 628e8a7 into stellar:master Jan 5, 2019
@marta-lokhova marta-lokhova deleted the fix_publish_queue_race_cond branch April 23, 2020 00:02
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