Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
SocketTimeoutException in Follower#followLeader() where the leader is successfully running can make this follower not able to rejoin the quorum.
Analysis:
1. SocketTimeoutException in below code, will make follower to stop following (Not process shutdown) and try to participate in leader election again.
while (self.isRunning()) {
readPacket(qp);
processPacket(qp);
}
2. At the time of leader election FastLeaderElection#logicalclock will be incremented at only follower side, and this is more than electionEpoch of the leader.
3. Notification from the Leader will get ignored and from this follower notifications will be continously sent and again ignored.