BUG 7801: prevent OptimisticLockFailedExceptions in write-transactions. 84/53784/7
authorTomas Cere <tcere@cisco.com>
Fri, 24 Mar 2017 10:29:16 +0000 (11:29 +0100)
committerTom Pantelis <tompantelis@gmail.com>
Sat, 1 Apr 2017 08:40:14 +0000 (08:40 +0000)
commit1b462903a7e74d65a953070504bc72fdccbcc7af
tree89b7d01021a904cbb4b0fa68247ce0198d858243
parent0ecd0c6a0930bb2aae015ce26fc689d88fb09ff8
BUG 7801: prevent OptimisticLockFailedExceptions in write-transactions.

When multiple instances of this rpc are running concurrently in paralel
we would run into an optimistic lock since every instance tries to write
the topmost parent list first.
When these happen handle these failures as expected and resume with the
next stage of the rpc.

Change-Id: I43efaea3315b04272113eb86733e68609e434984
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/WriteTransactionsHandler.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.