From: Moiz Raja Date: Fri, 24 Oct 2014 06:23:22 +0000 (+0000) Subject: Merge "[Fix for Bug 1631] - Refactored RaftActorBehavior#handleMessage (and related... X-Git-Tag: release/lithium~981 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=6d8afdbf6318fff992f9cbd4c3a528b3c520eae3 Merge "[Fix for Bug 1631] - Refactored RaftActorBehavior#handleMessage (and related methods) to return RaftActorBehavior instead of RaftActorState. - Moved behavior switching from RaftActor based on requested state to the implementations of the behaviors that should control that switch (Leader/Follower/Candidate) based on the type of message received. - Pull up logger reference for concrete RAFT behaviors to parent for a common LOG reference. - Updated all logger calls to: - Use substitution instead of String concatenation. - Debug logger calls are gated by isDebugEnabled check. - Correctly use Akka logging API for stack trace on exception. - Avoid toString() calls during logging. - Use assigned logger instance (LOG) instead of call to context.getLogger()" --- 6d8afdbf6318fff992f9cbd4c3a528b3c520eae3