Bug 7747: Reply to the leader before applying previous state 35/55735/1
authorTom Pantelis <tompantelis@gmail.com>
Thu, 20 Apr 2017 13:15:43 +0000 (09:15 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Thu, 20 Apr 2017 13:29:14 +0000 (13:29 +0000)
commitcc3457991acc2b3da2cb6dec631034ec437f021a
tree1480177709d1c27b9cca09d73a940c008171debc
parentc21f946ff085947da7c39f421138a83e343492b9
Bug 7747: Reply to the leader before applying previous state

Applying state to the data tree can be expensive so the follower
should reply to the leader before applying any previous state so
as not to hold up leader consensus.

Change-Id: Ic92ae2ac30d72d6a401bdc36fda900a0a7fb21d3
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/Follower.java