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

how to re-join the cluster when restart. #247

Closed
siddontang opened this issue Aug 4, 2016 · 1 comment
Closed

how to re-join the cluster when restart. #247

siddontang opened this issue Aug 4, 2016 · 1 comment
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.
Milestone

Comments

@siddontang
Copy link
Contributor

Now we support static initial cluster and dynamic join cluster, for a server, if crashed, sometimes users may start the PD directly with same arguments before.So we may meet following cases:

Assume we start pd 1, 2, 3 with initial cluster way, and join pd 4 later.

  • 1 restarts, but 1's initial_cluster has only 1, 2, 3 can 1 re-join the cluster directly with origin initial_cluster?
  • 4 restarts, 4 can check if it still in cluster, so won't call Add member API.
  • Any other cases?

/cc @iamxy @v01dstar

@siddontang siddontang added this to the beta3 milestone Aug 4, 2016
@siddontang siddontang added the type/enhancement The issue or PR belongs to an enhancement. label Aug 12, 2016
@overvenus
Copy link
Member

closed via #249

rleungx added a commit to rleungx/pd that referenced this issue Jan 25, 2024
* mcs: fix unnecessary PDRedirectorHeader (tikv#7538)

close tikv#7533

Signed-off-by: lhy1024 <[email protected]>

Co-authored-by: Ryan Leung <[email protected]>
Signed-off-by: lhy1024 <[email protected]>

* mcs: change the log level (tikv#7654)

ref tikv#7655

Signed-off-by: Ryan Leung <[email protected]>

* fix test

Signed-off-by: lhy1024 <[email protected]>

---------

Signed-off-by: lhy1024 <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
Co-authored-by: Ryan Leung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants