This is an automated email from the ASF dual-hosted git repository.
maoling 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 4f4a7fc ZOOKEEPER-4046: Fix typo
4f4a7fc is described below
commit 4f4a7fc27996744edb79ba69a56cdd0a8d066bce
Author: KangZhiDong <[email protected]>
AuthorDate: Fri Jan 22 01:43:42 2021 +0800
ZOOKEEPER-4046: Fix typo
Fix typo
Author: KangZhiDong <[email protected]>
Reviewers: maoling [email protected]
Closes #1570 from KangZhiDong/ZOOKEEPER-4046
---
zookeeper-docs/src/main/resources/markdown/zookeeperUseCases.md | 6 +++---
.../java/org/apache/zookeeper/server/quorum/LearnerHandler.java | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/zookeeper-docs/src/main/resources/markdown/zookeeperUseCases.md
b/zookeeper-docs/src/main/resources/markdown/zookeeperUseCases.md
index bd29ee6..24f991c 100644
--- a/zookeeper-docs/src/main/resources/markdown/zookeeperUseCases.md
+++ b/zookeeper-docs/src/main/resources/markdown/zookeeperUseCases.md
@@ -121,9 +121,9 @@ limitations under the License.
- ZooKeeper maintains ephemeral cluster membership information. The
Drillbits use ZooKeeper to find other Drillbits in the cluster,
and the client uses ZooKeeper to find Drillbits to submit a query [28].
-### [Apache Druid(Incubating)](https://druid.apache.org/)
- - Apache Druid (incubating) is a high performance real-time analytics
database.
- - Apache Druid (incubating) uses Apache ZooKeeper (ZK) for management of
current cluster state. The operations that happen over ZK are [27]:
+### [Apache Druid](https://druid.apache.org/)
+ - Apache Druid is a high performance real-time analytics database.
+ - Apache Druid uses Apache ZooKeeper (ZK) for management of current cluster
state. The operations that happen over ZK are [27]:
- Coordinator leader election
- Segment "publishing" protocol from Historical and Realtime
- Segment load/drop protocol between Coordinator and Historical
diff --git
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerHandler.java
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerHandler.java
index b91319e..f71a4bf 100644
---
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerHandler.java
+++
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerHandler.java
@@ -551,7 +551,7 @@ public class LearnerHandler extends ZooKeeperThread {
boolean needSnap = syncFollower(peerLastZxid, learnerMaster);
// syncs between followers and the leader are exempt from
throttling because it
- // is importatnt to keep the state of quorum servers up-to-date.
The exempted syncs
+ // is important to keep the state of quorum servers up-to-date.
The exempted syncs
// are counted as concurrent syncs though
boolean exemptFromThrottle = getLearnerType() !=
LearnerType.OBSERVER;
/* if we are not truncating or sending a diff just send a snapshot
*/