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:39:41 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.5 854f7e604 -> c98d44a7a


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
(cherry picked from commit 8be14c4d4743bebfd3e2b1759503d640480d4218)
Signed-off-by: Patrick Hunt <phunt@apache.org>


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

Branch: refs/heads/branch-3.5
Commit: c98d44a7af8e7883eb7e37d165b3ececb1f5cd7d
Parents: 854f7e6
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:38:38 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/c98d44a7/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 d6caa15..e87f359 100644
--- a/src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java
+++ b/src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java
@@ -106,7 +106,7 @@ public class CommitProcessor extends ZooKeeperCriticalThread implements
     /**
      * 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