upstream(core): Run consensus startup async#11928
Merged
jkrvivian merged 1 commit intoJun 22, 2026
Merged
Conversation
2 tasks
00a4edd to
3937272
Compare
2f52a63 to
bb0d493
Compare
3937272 to
3bbfda7
Compare
bb0d493 to
c66b93b
Compare
3bbfda7 to
9a09587
Compare
c66b93b to
299993b
Compare
muXxer
approved these changes
Jun 19, 2026
piotrm50
approved these changes
Jun 22, 2026
1f8f43e
into
core-protocol/upstream-changes/mainnet-1.51.5-1.52.3
38 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of change
Spawns consensus startup asynchronously so it no longer blocks the other
node components during validator bring-up. The consensus handler is now
created before the authority starts (so it is listening for committed
sub-dags first), and the replay-waiting mechanism is rewired from holding
an
Arc<ConsensusAuthority>to receiving theCommitConsumerMonitorovera broadcast channel. A
DISABLE_REPLAY_WAITERenv var is added as anescape hatch.
Built on top of #11850 which is required to prevent OOM on recovery.
Links to any relevant issues
Part of #11885
How the change has been tested