OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3187-g4d4668b
Gerrit Code Review
gerrit@openafs.org
Tue, 4 Dec 2012 03:23:14 -0800 (PST)
The following commit has been merged in the master branch:
commit 4d4668b1618a2bd5b94ed4620464787f42d11cab
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Nov 20 14:18:47 2012 -0600
ubik: Try to detect VOTE_Beacon errors
Currently the way ubik dbsites vote for each other is via the "return
value" of the Beacon VOTE RPC. Since this is really an Rx abort, this
can easily collide with actual errors on the wire, such as rxkad
errors.
Try to detect these by detecting vote times that are very different
than the current timestamp (more than an hour in the future or past),
and treat it like a network error.
If we do not do this, a single site reporting an error can cause us to
never reach quorum, since we calculate our sync site expiration based
on the oldest 'yes' vote, which for most known Rx aborts will be far
in the past.
Change-Id: I28cf4c520bbbe9e98eb55947476c8785d3c8ec0b
Reviewed-on: http://gerrit.openafs.org/8486
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/ubik/beacon.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository