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

Exponential backoff during pre-election #1224

Closed
amitanandaiyer opened this issue Apr 19, 2019 · 1 comment
Closed

Exponential backoff during pre-election #1224

amitanandaiyer opened this issue Apr 19, 2019 · 1 comment

Comments

@amitanandaiyer
Copy link
Contributor

Currently elections back off only based on the term difference.
With pre-elections a partitioned node will always have the term difference
of 1, so exponential backoff is practically disabled.

@amitanandaiyer
Copy link
Contributor Author

Duplicate of #1216

@amitanandaiyer amitanandaiyer marked this as a duplicate of #1216 Apr 20, 2019
yugabyte-ci pushed a commit that referenced this issue Apr 20, 2019
Summary:
Currently elections back off only based on the term difference.
With pre-elections a partitioned node will always have the term difference
of 1, so exponential backoff is practically disabled.

Adding back exponential back off during pre elections similar to what's
done in Kudu.

Test Plan: Jenkins

Reviewers: kannan, sergei

Reviewed By: sergei

Subscribers: bogdan, ybase, bharat

Differential Revision: https://phabricator.dev.yugabyte.com/D6503
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

No branches or pull requests

1 participant