Skip to content

Fix Raft heartbeat rate for Zero.#3753

Merged
danielmai merged 1 commit intomasterfrom
danielmai/zero-raft-ticker
Aug 6, 2019
Merged

Fix Raft heartbeat rate for Zero.#3753
danielmai merged 1 commit intomasterfrom
danielmai/zero-raft-ticker

Conversation

@danielmai
Copy link
Copy Markdown
Contributor

@danielmai danielmai commented Aug 5, 2019

In #3708 (4b41d9c) we bumped up the Raft
heartbeat rate to 100ms ticks. This change also updates the heartbeat ticker for
Zero too. Otherwise, Zero's election ticker would happen every 400ms instead of
every 2s as intended since raft.Config.ElectionTick is set to 20.


This change is Reviewable

In #3708 (4b41d9c) we bumped up the Raft
heartbeat rate to 100ms ticks. This change also updates the heartbeat ticker for
Zero too. Otherwise, Zero's election ticker would happen every 400ms instead of
every 2s since raft.Config.ElectionTick is set to 20.
@danielmai danielmai requested a review from manishrjain as a code owner August 5, 2019 21:01
@danielmai danielmai requested a review from a team August 5, 2019 21:01
@danielmai danielmai merged commit 9abaea4 into master Aug 6, 2019
@danielmai danielmai deleted the danielmai/zero-raft-ticker branch August 6, 2019 01:20
mangalaman93 pushed a commit that referenced this pull request Aug 29, 2019
In #3708 (4b41d9c) we bumped up the Raft
heartbeat rate to 100ms ticks. This change also updates the heartbeat ticker for
Zero too. Otherwise, Zero's election ticker would happen every 400ms instead of
every 2s since raft.Config.ElectionTick is set to 20.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant