BUG-8618: update sync status only after processing 41/59041/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 15 Jun 2017 15:45:50 +0000 (17:45 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Thu, 15 Jun 2017 20:11:57 +0000 (20:11 +0000)
commit758b6995d878eec225fdd959913b5495576649c2
tree527f0c120da4b19987783e7b1840c8588fa49eed
parentb25ae9347455b1bae8f25424a9ceffc017f2f0db
BUG-8618: update sync status only after processing

Since the commitIndex may move in chunks we really want to update
our sync status after we have gone through the AppendEntries message
so our commitIndex reflects the state after processing.

Change-Id: I49c72a21f8d9c3efb7ae9cc1b64276220057f2e2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit bdb818fbfc5f015ab14883348f170cca8ce79128)
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/Follower.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.