Hi all,
I would try to test a scenario: The initial cluster has 3 nodes, named A, B, C. Now after the system growing, we need to add new node, called D, into the cluster. D is not listed in the config file at the initial time. How the running nodes (A,B,C) recognize the newly node which want to join?
My idea is using cluster name to isolate cluster. For example, any node send the first Request vote with the cluster name. If the cluster name from request matches the configured file, continue to process election process, otherwise drop. This allows multiple clusters run under the same subnet.
But this lead to another issue: How to ensure the majority, since we do not have the fixed number of nodes.
Please give your comment about this case?
Thank,
Orion.