]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Mon, 31 Jan 2011 18:33:23 +0000 (10:33 -0800)
commit44542a7c1197441c9aa4f3d1a923d239094261e5
tree176e7b3b9b15f4bf6d7c0442b12854c1ded14cc8
parent48938a5555d7ba7c11b8a77bcd9065c9c9a39c59
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.

Reviewed-on: http://gerrit.openafs.org/2726
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit d8e382df39aa5a92950a1219002a85e5457d8a97)

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