This is an automated email from the ASF dual-hosted git repository.
hanm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new bd06861 fix typo
bd06861 is described below
commit bd06861b98319e5567b9a215492b397129fa47b4
Author: Byungwoo <bulee@whatap.io>
AuthorDate: Wed Sep 30 21:27:18 2020 -0700
fix typo
Author: Byungwoo <bulee@whatap.io>
Reviewers: maoling, hanm
Closes #1430 from comelf/master
---
.../java/org/apache/zookeeper/server/quorum/FastLeaderElection.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
index 967adf0..5f49220 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/FastLeaderElection.java
@@ -568,7 +568,7 @@ public class FastLeaderElection implements Election {
long proposedEpoch;
/**
- * Returns the current vlue of the logical clock counter
+ * Returns the current value of the logical clock counter
*/
public long getLogicalClock() {
return logicalclock.get();
@@ -1088,7 +1088,7 @@ public class FastLeaderElection implements Election {
}
break;
default:
- LOG.warn("Notification state unrecoginized: {} (n.state), {}(n.sid)",
n.state, n.sid);
+ LOG.warn("Notification state unrecognized: {} (n.state), {}(n.sid)",
n.state, n.sid);
break;
}
} else {
|