瀏覽代碼

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 年之前
父節點
當前提交
921710c6f1
共有 2 個文件被更改,包括 5 次插入4 次删除
  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.
   (mahadev via breed)
 
+  ZOOKEEPER-3. syncLimit has slightly different comments in the class header, and > inline with the variable.
+  (mahadev via breed)
+
 IMPROVEMENTS:
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
   "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() {
         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) {
         this.syncLimit = syncLimit;