Description
We should not send StartLeaderElection to the transferee when leaderLastEntry is null.
Because leaderLastEntry is expected to be non-null inĀ RaftServerImpl#startLeaderElection:
if (leaderLastEntry == null) { LOG.warn("{}: receive null leaderLastEntry which is unexpected", getMemberId()); return ServerProtoUtils.toStartLeaderElectionReplyProto(leaderId, getMemberId(), false); }
Attachments
Issue Links
- links to