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

Handle quorum certificate failure gracefully (BFT-386) #48

Closed
wants to merge 1 commit into from

Conversation

moshababo
Copy link
Contributor

Leader should not panic when it fails to create commit/prepare quorum certificate. Instead, the triggering message processing should return the unexpected error, after cleaning caches, and let the current iteration time out.

No tests were added since reaching this code path is unexpected and should be unproducible.


Another option would be to explicitly advertise the renunciation of the leader’s role within the current view by introducing a new variant of ConsensusMsg.

@brunoffranca brunoffranca deleted the graceful_qc_error branch December 8, 2023 15:26
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