BUG 2676 : Add diagnostic message when AppendEntriesReply comes in very late 42/15542/2
authorMoiz Raja <moraja@cisco.com>
Fri, 20 Feb 2015 11:38:18 +0000 (03:38 -0800)
committerMoiz Raja <moraja@cisco.com>
Fri, 20 Feb 2015 18:09:40 +0000 (10:09 -0800)
commit5a3a52607edfcb6854d2537302b4dda68a36f1b2
treecdf2185e7eecd5c430b3a7f908672a7a6440c938
parentd078a3876caf21888bf221aca16683931c4a7280
BUG 2676 : Add diagnostic message when AppendEntriesReply comes in very late

Log an error message when an AppendEntriesReply arrives beyond the ElectionTimeout
period. This may help detect cases where messages are not being processed
fast enough by the actor system. This particular condition can cause a Leader to
become an IsolatedLeader even if the remote Follower is receiving heartbeats.

Change-Id: Id6a797820b63cb4f18c3d1bbd2781e72674aa9d8
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractLeader.java