-
Notifications
You must be signed in to change notification settings - Fork 679
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: Wait until in nakamoto to shutdown 2.x block downloader #5676 #5735
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me, but please add a unit test to cover this change.
Can confirmed this has fixed a couple nodes we're syncing from genesis on testnet! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending Aaron's comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the test checks should be updated. This also should get a changelog entry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit test is still failing.
Unit tests pass locally for me; checking to see if they now pass CI. |
This fixes #5676 by requiring the p2p thread's view of the Stacks tip to be a Nakamoto tip before shutting down the epoch 2.x block download state machines.