]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-ubik-election-epoch-fix-20040110
authorJeffrey Hutzelman <jhutz@cs.cmu.edu>
Sat, 10 Jan 2004 17:02:40 +0000 (17:02 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Sat, 10 Jan 2004 17:02:40 +0000 (17:02 +0000)
ubik's ability to keep quorum broke when unix time passed 2^30 seconds.
Buy us another 2^30 seconds.

(cherry picked from commit 276df5918b057765e50b4c8a48ec8060f8abe5a7)

src/ubik/beacon.c

index 25411aa0563ecf2103edf17c4dcba186d344fe1a..e5f92f0375a5aa2617bb56e863d068e053908ad8 100644 (file)
@@ -367,7 +367,7 @@ ubeacon_Interact() {
 
        /* now analyze return codes, counting up our votes */
        yesVotes = 0;               /* count how many to ensure we have quorum */
-       oldestYesVote = 0x3fffffff; /* time quorum expires */
+       oldestYesVote = 0x7fffffff; /* time quorum expires */
        syncsite= ubeacon_AmSyncSite();
        startTime = FT_ApproxTime();
        /*