Skip to content
Mirror of Apache Hadoop ZooKeeper
Java C++ C JavaScript Python Shell Other
Branch: master
Clone or download

Latest commit

hanm and Enrico Olivelli ZOOKEEPER-3793: Request throttling is broken when RequestThrottler is…
… disabled or configured incorrectly..

When RequestThrottler is not enabled or is enabled but configured incorrectly, ZooKeeper server will stop throttling. This is a serious bug as without request throttling, it's fairly easy to overwhelm ZooKeeper which leads to all sorts of issues.

This is a regression introduced in ZOOKEEPER-3243, where the total number of queued requests in request processing pipeline is not taking into consideration when deciding whether to throttle or not, or only taken into consideration conditionally based on RequestThrottler's configurations. We should make sure always taking into account the number of queued requests in request processing pipeline before making throttling decisions.

Author: Michael Han <hanm@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>

Closes #1316 from hanm/ZOOKEEPER-3793
Latest commit 4d32f6c Apr 12, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin ZOOKEEPER-3427: Introduce SnapshotComparer that assists debugging wit… Feb 28, 2020
conf ZOOKEEPER-1260: Audit logging in ZooKeeper servers. Nov 11, 2019
dev/docker ZOOKEEPER-1112: Add (Cyrus) SASL authentication support to C client l… Jan 22, 2020
tools/cmake/Modules ZOOKEEPER-1112: Add (Cyrus) SASL authentication support to C client l… Jan 22, 2020
zookeeper-assembly ZOOKEEPER-3695: Source release tarball does not match repository in 3… Jan 17, 2020
zookeeper-client ZOOKEEPER-3726: invalid ipv6 address comparison in C client Apr 11, 2020
zookeeper-contrib ZOOKEEPER-3786: Simplify version generation Apr 9, 2020
zookeeper-docs ZOOKEEPER-3689: zkCli/ZooKeeperMain relies on system properties for T… Mar 26, 2020
zookeeper-it ZOOKEEPER-3755: Use maven to create fatjar Mar 26, 2020
zookeeper-jute ZOOKEEPER-3785: Make sources buildable with JDK14 Apr 7, 2020
zookeeper-metrics-providers ZOOKEEPER-3678: Remove Redundant GroupID from Maven POMs Jan 13, 2020
zookeeper-recipes Fix comment typo in the zookeeper lock recipe Feb 12, 2020
zookeeper-server ZOOKEEPER-3793: Request throttling is broken when RequestThrottler is… Apr 12, 2020
.gitattributes ZOOKEEPER-1966. VS and line breaks (Orion Hodson via fpj) Jul 16, 2014
.gitignore ZOOKEEPER-3738: Use mavanagaiata for git commit id Mar 2, 2020
.travis.yml ZOOKEEPER-3681: Add s390x support for Travis build Jan 8, 2020
LICENSE.txt Created notice and renamed the existing license/readme files. See ZOO… Jun 24, 2008
NOTICE.txt ZOOKEEPER-3745: Update copyright notices from 2019 to 2020 Mar 14, 2020
README.md ZOOKEEPER-3668: Clean up release package for 3.6.0 Jan 6, 2020
README_packaging.md ZOOKEEPER-3567: add SSL support for zkpython Jan 27, 2020
checkstyle-simple.xml ZOOKEEPER-3517: Turn on BookKeeper checkstyle configuration at projec… Aug 27, 2019
checkstyle-strict.xml ZOOKEEPER-3468: Enable BookKeeper checkstyle configuration on zookeep… Jul 29, 2019
checkstyleSuppressions.xml ZOOKEEPER-3475: Enable Checkstyle configuration on zookeeper-server Aug 17, 2019
excludeFindBugsFilter.xml ZOOKEEPER-3620: Allow to override calls to System.exit in server side… Nov 28, 2019
owaspSuppressions.xml ZOOKEEPER-3677: owasp checker failing for - CVE-2019-17571 Apache Log… Jan 18, 2020
pom.xml ZOOKEEPER-3786: Simplify version generation Apr 9, 2020
zk-merge-pr.py ZOOKEEPER-3782: Replace filter() with list comprehension for returnin… Apr 8, 2020

README.md

Apache ZooKeeper Build Status Maven Central License

alt text

For the latest information about Apache ZooKeeper, please visit our website at:

http://zookeeper.apache.org/

and our wiki, at:

https://cwiki.apache.org/confluence/display/ZOOKEEPER


Packaging/release artifacts

Either downloaded from https://zookeeper.apache.org/releases.html or found in zookeeper-assembly/target directory after building the project with maven.

apache-zookeeper-[version].tar.gz

    Contains all the source files which can be built by running:
    mvn clean install

    To generate an aggregated apidocs for zookeeper-server and zookeeper-jute:
    mvn javadoc:aggregate
    (generated files will be at target/site/apidocs)

apache-zookeeper-[version]-bin.tar.gz

    Contains all the jar files required to run ZooKeeper
    Full documentation can also be found in the docs folder

As of version 3.5.5, the parent, zookeeper and zookeeper-jute artifacts are deployed to the central repository after the release is voted on and approved by the Apache ZooKeeper PMC:

https://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/

Java 8

If you are going to compile with Java 1.8, you should use a recent release at u211 or above.

Contributing

We always welcome new contributors to the project! See How to Contribute for details on how to submit patch through pull request and our contribution workflow.

You can’t perform that action at this time.