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

Conversation

Edward-xk
Copy link
Collaborator

  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.

…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.
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