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

Rework distributed control bootstrap mechanism #2212

Closed
plorenz opened this issue Jul 10, 2024 · 0 comments
Closed

Rework distributed control bootstrap mechanism #2212

plorenz opened this issue Jul 10, 2024 · 0 comments
Assignees
Labels
controller Issue related to the controller distributed-control Work related to HA/Raft/other distributed control

Comments

@plorenz
Copy link
Member

plorenz commented Jul 10, 2024

Raft cluster bootstrap is too easy to get wrong. Change it so that bootstrap happens when the edge is initialized. This will happen when one of the following happens:

  1. ziti agent controller init.. is called
  2. The cluster is auto-initialized using a configured database

We should also add a cluster UUID which gets passed around when joining members.
Nodes can only join under the following conditions:

  1. They have the same cluster id
  2. One has a cluster id and the other doesn't
  3. Neither has a cluster id set yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controller Issue related to the controller distributed-control Work related to HA/Raft/other distributed control
Projects
Status: Done
Development

No branches or pull requests

1 participant