Skip to content

Fix potential indefinite stalling of chainstate and mempool if the initial sync is run on a slow machine with lots of peers#2007

Merged
ImplOfAnImpl merged 3 commits intomasterfrom
fix_subsys_hanging
Feb 6, 2026
Merged

Fix potential indefinite stalling of chainstate and mempool if the initial sync is run on a slow machine with lots of peers#2007
ImplOfAnImpl merged 3 commits intomasterfrom
fix_subsys_hanging

Conversation

@ImplOfAnImpl
Copy link
Contributor

I described the details in ml-node-consensus in Slack.
Basically, the stalling was due to how block_in_place interacts with deferred wakers in tokio; this behavior has been reported here and it has been fixed since then. So the fix for the stalling is to upgrade tokio to a version that includes that fix.

Additionally, I updated the "bytes" and "oneshot" crates to fix vulnerabilities reported by cargo deny and ran cargo vet prune.

@ImplOfAnImpl ImplOfAnImpl merged commit 69db231 into master Feb 6, 2026
14 checks passed
@ImplOfAnImpl ImplOfAnImpl deleted the fix_subsys_hanging branch February 6, 2026 14:47
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.

2 participants