BUG-8494: rework AbstractTransactionHandler 04/59604/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Jun 2017 09:34:34 +0000 (11:34 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Jun 2017 09:39:17 +0000 (11:39 +0200)
commitb7657c3ac7b4697372674b75e820581a6d59e2ba
treef8a8cc43b64a0213b8c2eadfe5c50ddcb5b41c72
parent741013a2d48a4d08f83082c4e3cff79f59d17dde
BUG-8494: rework AbstractTransactionHandler

If we have a transaction failure while we are producing transactions,
we could end up adding a delay until the failure is detected as we
would continue jamming in transactions.

Rework internal logic to halt processing as soon as a failure is seen,
speeding up detection and simplifying code.

Change-Id: I19d13c78d94bb39481abde477ec4e3df03a6aa57
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/AbstractTransactionHandler.java