Bug 7747: Reply to the leader before applying previous state 33/55733/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:15:43 +0000 (09:15 -0400)
commit37f4afe3c6b199d277b619bfc0056c5a96f8c3e1
tree38ffe6ad5a49d145b4a139b33850ecf29ea9a4c4
parent8f56000dedbca1bbf61cbf3eef24ea19a333b62f
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