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

src/ubik/beacon.c

index 0d69a1449902a584039e36a46070c302af50bc18..9d836d198a161d41e1afde60e1f07dd6b29e3e15 100644 (file)
@@ -381,7 +381,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();
        /*