Check total batched messages sent in ShardCommitCoordinator on tx ready 00/21500/3
authorTom Pantelis <tpanteli@brocade.com>
Sat, 30 May 2015 09:06:46 +0000 (05:06 -0400)
committerGerrit Code Review <gerrit@opendaylight.org>
Sat, 6 Jun 2015 18:47:49 +0000 (18:47 +0000)
commiteac2d5f506b801fcac619ca2cb7e4dcd85489a08
tree69b9330910e382bf8a8e449f850ee2353617b905
parentaa6342c2982aa30ffbcca6d1212de164041d9477
Check total batched messages sent in ShardCommitCoordinator on tx ready

Added check in the ShardCommitCoordinator to ensure the total number of
batched messages sent equals the total number of messages received as
was done in the ShardWriteTransaction.

Change-Id: I86a67aec7a6a8e8994aee9a2a167972ede1808c7
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinator.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/ReadyLocalTransactionSerializer.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTest.java