InMemoryDOMDataStore$DOMStoreTransactionChainImpl isnt happy if there are mulitple... 16/10816/1
authorMadhu Venugopal <mavenugo@gmail.com>
Thu, 4 Sep 2014 23:13:10 +0000 (16:13 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Thu, 4 Sep 2014 23:13:10 +0000 (16:13 -0700)
commit69bb0fee617b0d8a9fb8154cb47df8393208fbc4
tree77453a2da59eb22e20470381687659c7d889d6ee
parent4226eb5011c305372f3b7c493fd961985136586e
InMemoryDOMDataStore$DOMStoreTransactionChainImpl isnt happy if there are mulitple transactions queued in quick succession.

And it throws
java.lang.IllegalStateException: Previous transaction in chain must be ready.
at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[na:na]
at org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMDataStore$DOMStoreTransactionChainImpl.newReadWriteTransaction

when we reuse the txchain. Fixing it temporarily. Better solution is to get away from this and use DataChangeListener.

Change-Id: Id20abdefc21574dce9ff078f4ce96aa91c390edb
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/AbstractServiceInstance.java