zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f..@apache.org
Subject svn commit: r701768 - /hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java
Date Sun, 05 Oct 2008 09:45:01 GMT
Author: fpj
Date: Sun Oct  5 02:45:00 2008
New Revision: 701768

URL: http://svn.apache.org/viewvc?rev=701768&view=rev
Log:
ZOOKEEPER-157.patch


Modified:
    hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java

Modified: hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java?rev=701768&r1=701767&r2=701768&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java
(original)
+++ hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java
Sun Oct  5 02:45:00 2008
@@ -563,8 +563,6 @@
                 }
                 break;
             case LEADING:
-                leaveInstance();
-                return new Vote(n.leader, n.zxid);
             case FOLLOWING:
                 LOG.info("Notification: " + n.leader + ", " + n.zxid + ", " + n.epoch + ",
" + self.getId() + ", " + self.getPeerState() + ", " + n.state + ", " + n.sid);
               



Mime
View raw message