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

Membership change may cause poor availability #25

Open
CatKang opened this issue Dec 11, 2017 · 2 comments
Open

Membership change may cause poor availability #25

CatKang opened this issue Dec 11, 2017 · 2 comments
Labels

Comments

@CatKang
Copy link
Contributor

CatKang commented Dec 11, 2017

A new server who is not added into cluster yet, will constantly send RequestVote RPC with new term number to others, and this will cause new raft election.

But the new server couldn't receive any AppendEntry RPC, so it will timeout and redo the same process, then cause a new election process again and again.

Certainly, this will result in very poor availability.

@CatKang CatKang added the bug label Dec 11, 2017
@KernelMaker
Copy link
Contributor

use the order below to avoid this problem :-)

  1. update the new membership config to old cluster
  2. start the new server

@baotiao
Copy link
Contributor

baotiao commented Dec 19, 2017

@CatKang you are right, since this is a early version of membership change.

I have consider these problems before, another trouble problem also cause poor availability is that the new server need a long time of recovery period, during this time, the cluster is also in poor availability situation.

I will fix these issues in the future or you can fix is yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants