zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject zookeeper git commit: ZOOKEEPER-2923: The comment of the variable matchSyncs in class CommitProcessor has a mistake.
Date Wed, 15 Nov 2017 21:38:33 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.4 b629cff64 -> 8be14c4d4


ZOOKEEPER-2923: The comment of the variable matchSyncs in class CommitProcessor has a mistake.

Author: Jiafu Jiang <jiangjiafu1989@gmail.com>

Reviewers: phunt@apache.org

Closes #408 from JiangJiafu/ZOOKEEPER-2923

Change-Id: Iaf5076b38aa950467b2664684ba98743ab131a5b


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/8be14c4d
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/8be14c4d
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/8be14c4d

Branch: refs/heads/branch-3.4
Commit: 8be14c4d4743bebfd3e2b1759503d640480d4218
Parents: b629cff
Author: Jiafu Jiang <jiangjiafu1989@gmail.com>
Authored: Wed Nov 15 13:33:52 2017 -0800
Committer: Patrick Hunt <phunt@apache.org>
Committed: Wed Nov 15 13:33:52 2017 -0800

----------------------------------------------------------------------
 .../main/org/apache/zookeeper/server/quorum/CommitProcessor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/8be14c4d/src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java
----------------------------------------------------------------------
diff --git a/src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java b/src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java
index 220d658..3419f08 100644
--- a/src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java
+++ b/src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java
@@ -54,7 +54,7 @@ public class CommitProcessor extends ZooKeeperCriticalThread implements
RequestP
     /**
      * This flag indicates whether we need to wait for a response to come back from the
      * leader or we just let the sync operation flow through like a read. The flag will
-     * be true if the CommitProcessor is in a Leader pipeline.
+     * be false if the CommitProcessor is in a Leader pipeline.
      */
     boolean matchSyncs;
 


Mime
View raw message