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

Set timeout for rpc of prevote and request_vote; Reset random range of election_timeout #1

Merged
merged 1 commit into from
Feb 9, 2018

Commits on Feb 8, 2018

  1. Set timeout for rpc of prevote and request_vote; Reset random range o…

    …f election_timeout
    
    1. set timeout of prevote_rpc and request_vote_rpc to election_timeout_ms
    instead of default value 500ms, in case of timed out too quickly for sata disks.
    2. add a gflag raft_max_election_delay_ms, which allows user to define
    election_timeout random margin.
    Edward-xk committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    511f2d3 View commit details
    Browse the repository at this point in the history