You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ph...@apache.org on 2017/11/15 21:38:33 UTC
zookeeper git commit: ZOOKEEPER-2923: The comment of the variable
matchSyncs in class CommitProcessor has a mistake.
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 <ji...@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 <ji...@gmail.com>
Authored: Wed Nov 15 13:33:52 2017 -0800
Committer: Patrick Hunt <ph...@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;