Closed runzhiwang closed 4 years ago
@fengjiachun Thanks for explanation. One more question, rebalance api is rebalance leader when leader has been elected, so do sofa-jraft can consider the node load when leader election ? For example, if node1 has been elected as leader in group1, it will not be elected as leader in group2 again.
Currently, there is no correlation between the different raft groups,but maybe you can try priority-election
@fengjiachun Thank you very much.
Your question
For example, in MULTI-RAFT-GROUP, there are 3 nodes partitipate in 3 raft groups. But how we can avoid one node act as leader in all 3 raft groups ? If one node act as leader in all 3 raft groups, it's pressure is very high.