Harden ShardCommitCoordinator to survive EOS write retries 90/81790/1
authorTomas Cere <tomas.cere@pantheon.tech>
Fri, 26 Apr 2019 10:37:38 +0000 (12:37 +0200)
committerTomas Cere <tomas.cere@pantheon.tech>
Fri, 26 Apr 2019 10:37:38 +0000 (12:37 +0200)
commitbb04f62f467cc6e6f0922ba8957b09715707940d
tree0b2c11298d002fd6ccc4c82c1742f0dbdf228783
parent7b66583e80a8850bcf91c325ee6f6dcfa5036f5f
Harden ShardCommitCoordinator to survive EOS write retries

EntityOwnershipShard can break the usual shard rule of only one 3PC
running at one time, causing the retrying write attempting to modify
an already sealed modification.

Change-Id: Iaa56b68a30f9191f7aa14428f39d4d7524aeb09d
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/CohortEntry.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinator.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.