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/net fixes stackerdb #5066

Merged
merged 9 commits into from
Aug 12, 2024
Merged

Fix/net fixes stackerdb #5066

merged 9 commits into from
Aug 12, 2024

Conversation

jcnelson
Copy link
Member

Fixes StackerDB sync in master. Namely, if there's a getchunk/putchunk that fails due to a stale (or future) version NACK, the StackerDB sync state machine should immediately retry sync. Failure to do this can lead to signers and miners getting permanently out-of-sync, since if the StackerDB sync state machine runs at a slower rate than writes to these StackerDBs, then there will inevitably be failures in getchunk/putchunk that will never be resolved.

@jcnelson jcnelson requested a review from a team as a code owner August 12, 2024 18:15
@jcnelson jcnelson requested review from obycode and kantai August 12, 2024 18:16
@jcnelson jcnelson requested review from obycode and kantai August 12, 2024 20:03
kantai
kantai previously approved these changes Aug 12, 2024
obycode
obycode previously approved these changes Aug 12, 2024
@jcnelson jcnelson dismissed stale reviews from obycode and kantai via 6f21d1e August 12, 2024 20:35
@jcnelson jcnelson merged commit e24f8d5 into master Aug 12, 2024
1 check passed
@blockstack-devops
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Oct 28, 2024
@wileyj wileyj deleted the fix/net-fixes-stackerdb branch March 11, 2025 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants