BUG-8618: turn timeouts in READY state into canCommit failures 95/59895/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 3 Jul 2017 16:55:18 +0000 (18:55 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 14 Jul 2017 17:16:30 +0000 (17:16 +0000)
commit0d5408c4babc902d270d9f81ed53c6af93bb2867
tree831e9d744e70330aa1c7710dd5f4548ea08ac177
parentd2d9179e52a0d87aae2b9014b4c36384e24692e3
BUG-8618: turn timeouts in READY state into canCommit failures

This patch adds more details to the TimeoutException reported when
we prune a transaction while it is in the queue. It also peels the
READY case from the defaults and makes sure we send an authoritative
reply back to the frontend when it requests the transaction to be
committed.

Change-Id: I21364ff7e7103af8be6988b8483adc112c3c1d25
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/SimpleShardDataTreeCohort.java