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 plotting graceful shutdown #2312

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Dec 11, 2023

We have stop_receiver, but it only kicked in for plotting after plotting actually starts. Which is not the case if piece cache sync is still in progress, which in turn prevents plotting from stopping gracefully and the whole thing hanged until piece cache succeeds (which will likely never happen any time soon because with non-zero probability networking is already gone) or application is killed.

Fixes #2241

Code contributor checklist:

@nazar-pc nazar-pc enabled auto-merge December 11, 2023 19:42
@nazar-pc nazar-pc added this pull request to the merge queue Dec 11, 2023
Merged via the queue into main with commit d39a7b4 Dec 11, 2023
10 checks passed
@nazar-pc nazar-pc deleted the fix-plotting-graceful-shutdown branch December 11, 2023 20:12
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.

Since November 14 build, sometimes get many thousands of "get_providers" errors when control-c'ing a farmer
2 participants