]> git.michaelhowe.org Git - packages/o/openafs.git/commit
ubik: Do not count votes from error'd connections
authorAndrew Deason <adeason@sinenomine.net>
Tue, 20 Nov 2012 21:00:15 +0000 (15:00 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 17 Apr 2013 12:56:22 +0000 (05:56 -0700)
commit1243f1c034af37079501c5d546a613c406bc32d5
tree64463f9da9b3bdcfb5866d2bfc2e143558bf82e8
parenta369628d2c0a2f91a894ea5781166a18329b896d
ubik: Do not count votes from error'd connections

If the given connection has a connection-wide error on it, the vote we
got from that site is probably not valid, and we could easily be
interpreting an error code as a vote time. So instead, treat the host
as if we got a network error from it.

Reviewed-on: http://gerrit.openafs.org/8487
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 23092acce5d2d71a5ad6402119973c7c2c2f5e89)

Change-Id: Id320b33bb6662d7867ae1f4a8d0a29808f16b59d
Reviewed-on: http://gerrit.openafs.org/8947
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/ubik/beacon.c