Feature: cluster id mismatch check
- Jun 01, 2022
tarantool> box.func['.raft_join']:call({"wrong-cluster-id", "i2", nil, "", true})
---
- error: 'cannot join the instance to the cluster: cluster_id mismatch: cluster_id
of the instance = "wrong-cluster-id", cluster_id of the cluster = "c"'
...
Close #86 (closed)
* Make `--cluster-id` CLI mandatory. * Handle cluster_id mismatch in raft_join. When an instance attempts to join the cluster and the instances's `--instance-id` parameter mismatches the cluster_id of the cluster an error is raised inside the raft_join handler.