Maybe need to send request removeNode with params to other port of alpha node?
dgraph-alpha-public listen now 8080,8090 ports
Than let’s pretend that removing operation was completed. What steeps we need follow to recover Node id=6 in group=2 after losing all data with outer 2 nodes in group continue to working as normal. How to start replication process? For example, entering new clean node alpha with id=6 to group = 2 and start replication from 2 other nodes alpha in the same group?
Current documentation is not clear described this procedure (recover after fail-over alpha nodes, zero nodes).
Thank you for answer
Yes it is a lot of implementation Raft protocol and i don’t know what exactly was using by Dgraph team.
Is this formula ( =(N/2)-1) correct for fault tolerance in Dgraph Raft protocol implantation?
How i can resize default size of group? Now it’s 3 member. For example, if i will create 6 nodes, then now it will be 2 groups (3 nodes + 3 nodes). I want group size change from 3 to 6.
If you have 2 groups each with 3 members, and you want each group to have 5 members, then change the --replicas flag on the zeros to 5 and restart them, then add 4 more alpha nodes. They will be automatically assigned to the groups to make them 5 each.
5 members in a group will give a failure tolerance of 2 - having 6 members of a group will still only allow 2 failures so no reason to make it 6 really.