BUG-8618: refresh transaction access when isolated 92/60492/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 17 Jul 2017 15:11:48 +0000 (17:11 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Jul 2017 11:44:55 +0000 (13:44 +0200)
commit1529bb8bdd4c30a782cf1574b0127833da5831b7
treef1fdb20d7d35b47fbd5d250d99ca7e3f12eb62f6
parent55661ed801e178812f16ac990c93b51a3d68c00e
BUG-8618: refresh transaction access when isolated

When we are isolated leader we stop accepting messages from
the frontend. If we remain in this state for more than 15 seconds
this can result in a timeout -- which is obvious, but it really
is our fault.

Since we cannot make forward progress anyway, there is no point
in purging the transaction. Update its access time with whatever
the last mark for that frontend was.

Change-Id: I9ff56c91e4fda4b68cd34c05609dc88d6d65fd32
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