Closed killme2008 closed 4 years ago
This issue can be assigned to me!I will investigate the reason and fix it! @killme2008 @fengjiachun
@zongtanghu It's yours
any progress? @zongtanghu
I look into the findTheNextCandidate method which is in the ReplicatorGroupImpl class.In this method, it will choose the node which logindex is much more enough become leader rather than the node which priority value is larger.
So, in this testLeaderStopAndReElectWithPriority method, if the node with priority 10 has more enough logindex file than node with priority 60, the node with priority 10 will be the leader. @killme2008 @fengjiachun
It happens frequently, maybe we have to investigate it.