Improve error reporting in WriteTransactionsHandler 60/78460/1
authorTom Pantelis <tompantelis@gmail.com>
Fri, 30 Nov 2018 03:32:48 +0000 (22:32 -0500)
committerTom Pantelis <tompantelis@gmail.com>
Wed, 5 Dec 2018 14:49:25 +0000 (14:49 +0000)
commite05ce1d480cb463571e17cceb305290d6134bfbb
tree3c11dfa6708a57eae186fce48a36f63e1d27b98e
parentbc5c7107b946b41a35999dc80690aea6debbd599
Improve error reporting in WriteTransactionsHandler

The Leader Isolation CSIT is failing intermittently with a failed
tx and it would help to log the exception trace as restconf no longer
reports it. Also modified some fields to be thread-safe as they are
accessed by multiple threads although not concurrently/

Change-Id: Ifce3cd177e5e0cc7c7020866000cb915b9f9c4bf
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
(cherry picked from commit 26aee5f28675801253a1244d0c0ad74a7e51b3e4)
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/AbstractTransactionHandler.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/ProduceTransactionsHandler.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/WriteTransactionsHandler.java