BUG-8792: allow transactions to not time out after reconnect 90/60490/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 17 Jul 2017 12:41:47 +0000 (14:41 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Jul 2017 11:44:55 +0000 (13:44 +0200)
commit55661ed801e178812f16ac990c93b51a3d68c00e
tree318441f21d76e14d2e105582a5a01436c1693006
parent7633a2a50144dad7cf987b29959dc06509575c05
BUG-8792: allow transactions to not time out after reconnect

During reconnect churn, the frontend may be catching up with previous
transactions, hence we should hold off timing it out until it does.

When we arrive at a timed out transaction, we allow the access time to
be updated to connect time -- effectively saying the transaction was
touched at the time of reconnect.

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