Dgraph version: v20.11.3
I have a 3 alphas / 3 zeros cluster in a kubernetes environment. I want to repeatedly scale up/down the number of alpha nodes to test different load. All alpha nodes should be in the same group.
I have done the following to scale up:
- set “–replicas 5” in zero
- set “replicas: 5” in alpha
This created id 4 & 5 in Group 1. Everything worked perfectly.
When I tried to scale up again by setting “replicas: 5” in alpha, I got the following error.
rpc error: code = Unknown desc = REUSE_RAFTID: Duplicate Raft ID 4 to removed member: id:4 group_id:1 addr:“dgraph-alpha-3.dgraph-alpha.dgraph.svc.cluster.local:7080”
Can someone help me how this can be done?