Fix ShardDataTree transaction counters 10/114210/44
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Oct 2024 21:29:03 +0000 (23:29 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 29 Oct 2024 12:12:56 +0000 (13:12 +0100)
commit811558341e41e6cbd65242aee4d370cd20ecc56c
treed43c870f7e00865bd248385a97f3a862e5519016
parent6dba41de29d71c0ce5b7220056bec56ee9d3d30e
Fix ShardDataTree transaction counters

ShardDataTree is not consistently updating its counters, fix that.

Change-Id: I08db7ea2d3735eaedd8de6efbae29315f7b84d04
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
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/ShardDataTree.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/SimpleShardDataTreeCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/SimpleShardDataTreeCohortTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/md/cluster/datastore/model/TestModel.java