Skip to content

Enable automatic viewchange#2438

Open
ineiti wants to merge 1 commit intomainfrom
leader_change
Open

Enable automatic viewchange#2438
ineiti wants to merge 1 commit intomainfrom
leader_change

Conversation

@ineiti
Copy link
Member

@ineiti ineiti commented Mar 19, 2021

As the chain gets more and more stable, the leader can stay up for a long time. The worst thing with this is that I'm often not sure if the viewchange still works ;)

So this PR allows the next node in the roster to force a viewchange after a given interval. So an active node can request a viewchange, while an inactive node will just do nothing and not force a viewchange that will fail.

@ineiti ineiti self-assigned this Mar 19, 2021
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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.

1 participant