Browse Source

ZOOKEEPER-3. syncLimit has slightly different comments in the class header, and > inline with the variable.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@881849 13f79535-47bb-0310-9956-ffa450edef68
Benjamin Reed 15 years ago
parent
commit
921710c6f1
2 changed files with 5 additions and 4 deletions
  1. 3 0
      CHANGES.txt
  2. 2 4
      src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java

+ 3 - 0
CHANGES.txt

@@ -120,6 +120,9 @@ BUGFIXES:
   ZOOKEEPER-519. Followerhandler should close the socket if it gets an exception on a write.
   ZOOKEEPER-519. Followerhandler should close the socket if it gets an exception on a write.
   (mahadev via breed)
   (mahadev via breed)
 
 
+  ZOOKEEPER-3. syncLimit has slightly different comments in the class header, and > inline with the variable.
+  (mahadev via breed)
+
 IMPROVEMENTS:
 IMPROVEMENTS:
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
   "socket reuse" and failure to close client (phunt via mahadev)
   "socket reuse" and failure to close client (phunt via mahadev)

+ 2 - 4
src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java

@@ -670,16 +670,14 @@ public class QuorumPeer extends Thread implements QuorumStats.Provider {
     }
     }
         
         
     /**
     /**
-     * Get the number of ticks that can pass between sending a request and getting
-     * an acknowledgement
+     * Get the synclimit
      */
      */
     public int getSyncLimit() {
     public int getSyncLimit() {
         return syncLimit;
         return syncLimit;
     }
     }
 
 
     /**
     /**
-     * Set the number of ticks that can pass between sending a request and getting
-     * an acknowledgement
+     * Set the synclimit
      */
      */
     public void setSyncLimit(int syncLimit) {
     public void setSyncLimit(int syncLimit) {
         this.syncLimit = syncLimit;
         this.syncLimit = syncLimit;