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

Add gen block check time #382

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add gen block check time #382

wants to merge 1 commit into from

Conversation

gasby88
Copy link
Contributor

@gasby88 gasby88 commented Aug 3, 2017

Add gen block check time to reduce the time of trigger off change view.

Signed-off-by: wangbing [email protected]

Add gen block check time to reduce the time of trigger off change view.

Signed-off-by: wangbing [email protected]
@Arbio5zt
Copy link
Member

Arbio5zt commented Aug 3, 2017

approve

Copy link
Collaborator

@dreamfly281 dreamfly281 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks these is no essential change to reduce the change view time as the reschedule still based on 2^ViewNumber?

@gasby88
Copy link
Contributor Author

gasby88 commented Aug 9, 2017

Yes,the main change is reduce the time of backup nodes request change view when the net cannot make consensus. When the primary node dead or other circumstance, the backup nodes mast wait 2 gen block time to trigger off change view, but now only need to wait a gen block time and a gen block check time。

Honglei-Cong pushed a commit to Honglei-Cong/DNA that referenced this pull request Nov 27, 2019
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.

3 participants