BUG-8494: rework AbstractTransactionHandler 49/59849/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Jun 2017 09:34:34 +0000 (11:34 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 3 Jul 2017 11:08:19 +0000 (11:08 +0000)
commite9bda7f551d3c514e23f2d282a1ef1197efa382f
tree4831bd60d680cc22d65ff3bb41f31c2f3baddcb8
parentc63cdcd7fa2baecb00de8193a5d163ce3a5f4db5
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>
(cherry picked from commit b7657c3ac7b4697372674b75e820581a6d59e2ba)
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/AbstractTransactionHandler.java