vos: Improve release recovery on timed-out trans
authorAndrew Deason <adeason@sinenomine.net>
Thu, 9 Sep 2010 14:41:40 +0000 (09:41 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sat, 27 Nov 2010 19:09:20 +0000 (11:09 -0800)
commitd8e382df39aa5a92950a1219002a85e5457d8a97
tree599b38a88ae214cece4c2ef42973e5db4c89cd5b
parent8a09c220f4c5f881ea45be585b07b793038924d5
vos: Improve release recovery on timed-out trans

When a portion of 'vos release' takes long enough that a transaction
on one or more RO sites times out, it retries to release to those
sites. However, it does not take into account the situation where the
transaction on the original RO clone has also timed out, which it
usually will have if we took a long time to get to the ForwardMulti
stage for any reason.

Add a check to see if the clone RO transaction has timed out, and if
so, recreate the transaction on it. Check if the volume appears to
have changed at all, and if it has, bail out.

Change-Id: I7dd69c83e41216246e40159e8d9c1417e15355f4
Reviewed-on: http://gerrit.openafs.org/2726
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/volser/vsprocs.c