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

Draft: re-attempt mining after blocking_signal flaps #3609

Closed
wants to merge 2 commits into from

Conversation

kantai
Copy link
Member

@kantai kantai commented Mar 13, 2023

This PR is attempting to address an issue we're seeing in the Hiro testnet miner related to the miner thread blocking signal. In the current implementation, if a miner attempts to mine and sees the "block" signal, the "RunTenure" command is not reissued. The miner thread does not attempt to mine again, and this results in missed sortitions.

This is still a draft as we're still trying to diagnose the exact locking behavior (we're also seeing chains coordinator thread stalls with db contention, which is magnifying this issue, but it isn't clear year what's driving that).

@codecov
Copy link

codecov bot commented Mar 13, 2023

Codecov Report

Merging #3609 (2243386) into master (9f7a650) will decrease coverage by 0.16%.
The diff coverage is 85.10%.

@@            Coverage Diff             @@
##           master    #3609      +/-   ##
==========================================
- Coverage   31.23%   31.07%   -0.16%     
==========================================
  Files         298      298              
  Lines      275069   275063       -6     
==========================================
- Hits        85923    85484     -439     
- Misses     189146   189579     +433     
Impacted Files Coverage Δ
testnet/stacks-node/src/neon_node.rs 82.98% <85.10%> (-1.14%) ⬇️

... and 43 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kantai
Copy link
Member Author

kantai commented Mar 14, 2023

Closing, in lieu of #3610

@kantai kantai closed this Mar 14, 2023
@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 Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Status: Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants