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

Check status of block propagation manager before starting or stopping #4122

Conversation

daniellehrner
Copy link
Contributor

Signed-off-by: Daniel Lehrner daniel.lehrner@consensys.net

PR description

In DefaultSynchronizer check if the BlockPropagationManager is running before starting or stopping it. This avoids an exception or warning if it is started or stopped more than once respectively.

Fixed Issue(s)

fixes #4121

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
@daniellehrner daniellehrner marked this pull request as ready for review July 18, 2022 15:33
@daniellehrner daniellehrner enabled auto-merge (squash) July 18, 2022 15:34
@daniellehrner daniellehrner merged commit ac3e075 into hyperledger:main Jul 18, 2022
@daniellehrner daniellehrner deleted the fix_race_condition_start_block_propagation_manager branch July 18, 2022 16:04
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
…hyperledger#4122)

* check status of block propagation manager before starting or stopping

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing Hive test: Pre-TTD ForkchoiceUpdated After PoS Switch
3 participants