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

Mark its own cluster as healthy when rebalancing. #8406

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

hanshasselberg
Copy link
Member

@hanshasselberg hanshasselberg commented Jul 30, 2020

This code started as an optimization to avoid doing an RPC Ping to
itself. But in a single server cluster the rebalancing was led to
believe that there were no healthy servers because foundHealthyServer
was not set. Now this is being set properly.

Fixes #8401.

This code started as an optimization to avoid doing an RPC Ping to
itself. But in a single server cluster the rebalancing was led to
believe that there were no healthy servers because foundHealthyServer
was not set. Now this is being set properly.

Fixes #8401 and #8403.
@dnephin dnephin added theme/internal-cleanup Used to identify tech debt, testing improvements, code refactoring, and non-impactful optimization theme/internals Serf, Raft, SWIM, Lifeguard, Anti-Entropy, locking topics and removed theme/internal-cleanup Used to identify tech debt, testing improvements, code refactoring, and non-impactful optimization labels Aug 5, 2020
Copy link
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

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

LGTM

@hanshasselberg hanshasselberg merged commit 51a8e15 into master Aug 6, 2020
@hanshasselberg hanshasselberg deleted the fix_rebalance branch August 6, 2020 08:42
@hashicorp-ci
Copy link
Contributor

🍒✅ Cherry pick of commit 51a8e15 onto release/1.8.x succeeded!

hashicorp-ci pushed a commit that referenced this pull request Aug 6, 2020
This code started as an optimization to avoid doing an RPC Ping to
itself. But in a single server cluster the rebalancing was led to
believe that there were no healthy servers because foundHealthyServer
was not set. Now this is being set properly.

Fixes #8401 and #8403.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/internals Serf, Raft, SWIM, Lifeguard, Anti-Entropy, locking topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Single Node / Dev Cluster starts emitting RPC errors after 2 minutes of running
3 participants