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

When is this step used : Now use the reconfiguration command to add the second and third servers to the cluster #242

Open
VanishingPuzzle opened this issue Oct 30, 2021 · 4 comments

Comments

@VanishingPuzzle
Copy link

When the servers are elected as leaders, when is reconfiguration done? Because still, servers are running

@ongardie
Copy link
Member

When you bring up a LogCabin server for the first time, it's not automatically added to the cluster. It will do nothing. You can use the reconfiguration command to ask the leader of the cluster to add the new server to the cluster.

@VanishingPuzzle
Copy link
Author

Yeah , i have 3 AWS instances running, and 1 is the leader, but there is not a break in the terminal, it keeps on looking, so is there a wait time before i run the reconfigure?

@ongardie
Copy link
Member

I'm not sure what you mean. If there's 1 server in a cluster of size 1, it should happily lead itself, without waiting for anyone else. You should be able to run the reconfiguration as soon as all the servers involved are up and the existing cluster (of size 1, in your case) has a leader.

@VanishingPuzzle
Copy link
Author

Yes, it elects itself the leader but I have the same issue as #243

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

2 participants