Eliminate TransactionInvokerImpl.successfulTransactionQueue 44/86244/16
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 5 Dec 2019 21:12:31 +0000 (22:12 +0100)
committerStephen Kitt <skitt@redhat.com>
Tue, 7 Jan 2020 16:04:52 +0000 (16:04 +0000)
commit9d714a27491cfae217dcd50341908db15a3489cc
tree113b6d816c7bd90b9dde3ff7e92a3b3e7a0fc266
parent2b27160b5ff990a3ea40c285cda2c7e559d7f7d1
Eliminate TransactionInvokerImpl.successfulTransactionQueue

This queue is actually just a hand-off between the datastore callback
thread and the central thread. There is no need for such a queue, as
we can just properly synchronize access to the critical structures.

JIRA: OVSDB-428
Change-Id: Idba05aebfa7fd35dbdb706b8bfef03e3e03d7772
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transactions/md/TransactionInvokerImpl.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/TransactionInvokerImpl.java
southbound/southbound-impl/src/test/java/org/opendaylight/ovsdb/southbound/transactions/md/TransactionInvokerImplTest.java