ZooKeeper favicon

Apache ZooKeeper 3.10.0

Release Notes

Release notes for ZooKeeper 3.10.x, including new features, bug fixes, improvements, and breaking changes.

Release Notes - ZooKeeper - Version 3.10.0

Bug

  • ZOOKEEPER-2332 - Zookeeper failed to start for empty txn log
  • ZOOKEEPER-2590 - exists() should check read ACL permission
  • ZOOKEEPER-2623 - CheckVersion outside of Multi causes NullPointerException
  • ZOOKEEPER-3100 - ZooKeeper client times out due to random choice of resolved addresses
  • ZOOKEEPER-4020 - Memory leak in Zookeeper C Client
  • ZOOKEEPER-4236 - Java Client SendThread create many unnecessary Login objects
  • ZOOKEEPER-4240 - IPV6 support in ZooKeeper ACL
  • ZOOKEEPER-4276 - Serving only with secureClientPort fails
  • ZOOKEEPER-4293 - Lock Contention in ClientCnxnSocketNetty (possible deadlock)
  • ZOOKEEPER-4324 - Hard dependency on io.dropwizard.metrics:metrics-core cannot be avoided
  • ZOOKEEPER-4394 - Learner.syncWithLeader got NullPointerException
  • ZOOKEEPER-4409 - NullPointerException in SendAckRequestProcessor
  • ZOOKEEPER-4415 - Zookeeper 3.7.0 : The client supported protocol versions [TLSv1.3] are not accepted by server preferences
  • ZOOKEEPER-4508 - ZooKeeper client run to endless loop in ClientCnxn.SendThread.run if all server down
  • ZOOKEEPER-4604 - Creating a COMPLETION_STRING_STAT would set acl_result completion
  • ZOOKEEPER-4607 - TxnLogToolkit decode multi tnx problem
  • ZOOKEEPER-4699 - zh->hostname heap-use-after-free in zookeeper_interest
  • ZOOKEEPER-4703 - Datadir and DatalogDir size are incorrect
  • ZOOKEEPER-4708 - ZooKeeper 3.6.4 quorum failing due to <unresolved> address
  • ZOOKEEPER-4712 - Follower.shutdown() and Observer.shutdown() do not correctly shutdown the syncProcessor, which may lead to data inconsistency
  • ZOOKEEPER-4725 - TTL node creations do not appear in audit log
  • ZOOKEEPER-4730 - Incorrect datadir and logdir size reported from admin and 4lw dirs command
  • ZOOKEEPER-4733 - non-return function error and asan error in CPPUNIT TESTs
  • ZOOKEEPER-4736 - socket fd leak
  • ZOOKEEPER-4739 - Disable ClientSSLTest for s390x arch
  • ZOOKEEPER-4741 - High latency under heavy load when prometheus metrics enabled
  • ZOOKEEPER-4752 - Remove version files in zookeeper-server/src/main from .gitignore
  • ZOOKEEPER-4770 - zkSnapshotRecursiveSummaryToolkit.sh Error: Could not find or load main class
  • ZOOKEEPER-4782 - The installation guide in zookeeper-client/zookeeper-client-c/README is outdated
  • ZOOKEEPER-4785 - Txn loss due to race condition in Learner.syncWithLeader() during DIFF sync
  • ZOOKEEPER-4787 - Failed to establish connection between zookeeper
  • ZOOKEEPER-4804 - Use daemon threads for Netty client
  • ZOOKEEPER-4808 - Fix the log statement in FastLeaderElection
  • ZOOKEEPER-4809 - do_completion() use-after-free when log level is debug
  • ZOOKEEPER-4810 - Fix data race in format_endpoint_info()
  • ZOOKEEPER-4814 - Protocol desynchronization after Connect for (some) old clients
  • ZOOKEEPER-4819 - Can't seek for writable tls server if connected to readonly server
  • ZOOKEEPER-4828 - Minor 3.9 broke custom TLS setup with ssl.context.supplier.class
  • ZOOKEEPER-4830 - zk_learners is incorrectly referenced as zk_followers
  • ZOOKEEPER-4839 - When DigestMD5 is used to enable mandatory client authentication,Users that do not exist can log in
  • ZOOKEEPER-4843 - Encountering an 'Unreasonable Length' error when configuring jute.maxbuffer to 1GB or more
  • ZOOKEEPER-4846 - Failure to reload database due to missing ACL
  • ZOOKEEPER-4848 - Possible stack overflow in setup_random
  • ZOOKEEPER-4853 - erroneous assertion in ZooKeeperQuotaTest#testQuota
  • ZOOKEEPER-4858 - Remove the lock contention between snapshotting and the sync operation
  • ZOOKEEPER-4871 - ZooKeeper python module (zkpython) is incompatible with Python 3.12
  • ZOOKEEPER-4872 - SnapshotCommand should not perform fastForwardFromEdits
  • ZOOKEEPER-4876 - jetty-http-9.4.53.v20231009.jar: CVE-2024-6763(3.7)
  • ZOOKEEPER-4877 - Fix typos
  • ZOOKEEPER-4886 - observer with small myid can't join SASL quorum
  • ZOOKEEPER-4888 - Issues with TLS post upgrade from 3.9.1 to 3.9.2
  • ZOOKEEPER-4889 - Fallback to DIGEST-MD5 auth mech should be disabled in Fips mode
  • ZOOKEEPER-4890 - Update Netty to fix CVE-2024-47535
  • ZOOKEEPER-4900 - Bump patch release of jetty to include CVE fix for CVE-2024-6763
  • ZOOKEEPER-4907 - Shouldn't throw "Len error" when server closing cause confusion
  • ZOOKEEPER-4909 - When a spurious wakeup occurs, the client’s waiting time may exceed requestTimeout.
  • ZOOKEEPER-4919 - ResponseCache supposed to be a LRU cache
  • ZOOKEEPER-4920 - ZooKeeperServerMaxCnxnsTest is flaky
  • ZOOKEEPER-4921 - Zookeeper Client 3.9.3 Fails to Reconnect After Network Failures
  • ZOOKEEPER-4925 - Diff sync introduce hole in stale follower's committedLog which cause data loss in leading
  • ZOOKEEPER-4928 - Version in zookeeper_version.h is not updated
  • ZOOKEEPER-4932 - The newest version of zookeeper includes Jetty versiob 9.4.57.x which has CVE-2024-6763 issue
  • ZOOKEEPER-4933 - Connection throttle exception causing all connections to be rejected
  • ZOOKEEPER-4940 - Enabling zookeeper.ssl.ocsp with JRE TLS provider errors out
  • ZOOKEEPER-4946 - Login thread failed to shutdown successfully, causing SendThead to be blocked
  • ZOOKEEPER-4947 - When ZooKeeper client enters AuthFailed state (e.g., due to SASL authentication failure), calling close() method does not terminate internal SendThread and EventThread.
  • ZOOKEEPER-4953 - Fixing Typo In ZooKeeper Programmer's Guide
  • ZOOKEEPER-4958 - "ssl.clientHostnameVerification" is ignored if "ssl.authProvider" is configured to "x509"
  • ZOOKEEPER-4960 - Upgrade OWASP plugin to 12.1.3 due to recent parsing errors
  • ZOOKEEPER-4972 - Flaky tests in PrometheusMetricsProviderConfigTest
  • ZOOKEEPER-4974 - Remove enforced JDK 17 compilation warnings
  • ZOOKEEPER-4984 - Upgrade OWASP plugin to 12.1.6 due to breaking changes in the API
  • ZOOKEEPER-4985 - zkCleanup.sh fails for non-standard config directories
  • ZOOKEEPER-4986 - Disable reverse DNS lookup in TLS client and server
  • ZOOKEEPER-4989 - Compilation of client on Windows with MSVC is broken
  • ZOOKEEPER-4992 - Loading multiple trusted certificates with identical subject names from a PEM bundle fails
  • ZOOKEEPER-5009 - Memory Leak in zoo_sasl_client_create
  • ZOOKEEPER-5012 - NPE in QuorumPeer shutdown under restart
  • ZOOKEEPER-5021 - zkCli.sh needs "Ctrl-D" twice to exit
  • ZOOKEEPER-5044 - NettyServerCxnxFactory.shutdown must explicitly shut down DefaultEventExecutor
  • ZOOKEEPER-5045 - Unable to start in FIPS mode if Java common truststore is not specified
  • ZOOKEEPER-5049 - PrometheusMetricsProvider logs KeyStore and TrustStore passwords in clear text on INFO level
  • ZOOKEEPER-5052 - Fix stale thread write of primitive in JvmPauseMonitor
  • ZOOKEEPER-5055 - Ensure FileTxnLog.close() closes every stream
  • ZOOKEEPER-5056 - Netty CVE vulnerabilities in zookeeper 3.9.5
  • ZOOKEEPER-5057 - Logback CVE vulnerabilities in zookeeper 3.9.5
  • ZOOKEEPER-5059 - Kerberos SASL leaks Login refresh threads across QuorumPeer.shutdown()
  • ZOOKEEPER-5076 - Upgrade to JDK 17 in Owasp Jenkinsfile
  • ZOOKEEPER-5077 - Upgrade Netty to 4.1.136.Final
  • ZOOKEEPER-5080 - Flaky test: SnapshotAndRestoreCommandTest.testSnapshotAndRestoreCommand_streaming
  • ZOOKEEPER-5082 - Remove special characters from audit logs
  • ZOOKEEPER-5091 - WatchManager reports connections with no active watches after consuming the last standard watch
  • ZOOKEEPER-5093 - Possible io resource leak in FileTxnSnapLog.close
  • ZOOKEEPER-5097 - Make DataTree snapshot serialization iterative
  • ZOOKEEPER-5103 - Address multiple memory leaks identified by static analysis
  • ZOOKEEPER-5108 - Client SASL settings set to "true" with trailing whitespace are read as false
  • ZOOKEEPER-5109 - SERVER_JVMFLAGS was passed to diagnostic client commands
  • ZOOKEEPER-5116 - GitHub Action website and CI build fails on master
  • ZOOKEEPER-5118 - Update vulnerable website dependencies: @vitest/mocker, vite, zod, happy-dom, source-map-js

New Feature

  • ZOOKEEPER-2858 - Disable reverse DNS lookup for SASL java client
  • ZOOKEEPER-4697 - Add Builder to construct ZooKeeper and possible descendants
  • ZOOKEEPER-4747 - Java api lacks synchronous version of sync() call
  • ZOOKEEPER-4895 - Introduce a helper function for C client to generate password for SASL authentication
  • ZOOKEEPER-4923 - Support individual timeout to establish a brand-new session
  • ZOOKEEPER-4982 - Automatic HostProvider selection based on connection string format

Improvement

  • ZOOKEEPER-1944 - The 2pc picture of zookeeperInternals.pdf may be not correct.
  • ZOOKEEPER-3486 - add the doc about how to configure SSL/TLS for the admin server
  • ZOOKEEPER-3766 - zkServer and other scripts should export CLASSPATH rather than use -cp
  • ZOOKEEPER-3938 - Upgrade jline to version 3.x.
  • ZOOKEEPER-4299 - Use non lock completion list in zoo_amulti since it is not multithreaded
  • ZOOKEEPER-4391 - Unable to use newer JVM memory settings as Xmx overrides
  • ZOOKEEPER-4556 - Add zoo_version_str to return ZOO_VERSION for runtime library
  • ZOOKEEPER-4723 - Cleanup more in-place bytebuffer manipulations
  • ZOOKEEPER-4732 - improve Reproducible Builds
  • ZOOKEEPER-4738 - Clean test cases by refactoring assertFalse(equals()) with assertNotEquals
  • ZOOKEEPER-4743 - ZOOKEEPER-4743: Increase data version once more when going back to -1 from Integer.MIN_VALUE
  • ZOOKEEPER-4756 - Merge script should use GitHub api to merge pull requests
  • ZOOKEEPER-4764 - Tune the log of refuse session request.
  • ZOOKEEPER-4767 - New implementation of prometheus quantile metrics based on DataSketches
  • ZOOKEEPER-4778 - Patch jetty, netty, and logback to remove high severity vulnerabilities
  • ZOOKEEPER-4790 - TLS Quorum hostname verification breaks in some scenarios
  • ZOOKEEPER-4791 - Improve logging when the connection to a remote server is closed
  • ZOOKEEPER-4792 - Tune the env log at the start of the process
  • ZOOKEEPER-4794 - Reduce the ZKDatabase#committedLog memory usage
  • ZOOKEEPER-4798 - Secure prometheus support
  • ZOOKEEPER-4826 - Reduce unnecessary executable permissions on files
  • ZOOKEEPER-4829 - Support DatadirCleanup in minutes
  • ZOOKEEPER-4831 - update slf4j from 1.x to 2.0.13, logback to 1.3.14
  • ZOOKEEPER-4834 - Introduce Typo CI Check to Apache ZooKeeper
  • ZOOKEEPER-4835 - Netty should be an optional dependency
  • ZOOKEEPER-4850 - Enhance zkCli Tool to Support Reading and Writing Binary Data
  • ZOOKEEPER-4851 - Honor X-Forwarded-For optionally in IPAuthenticationProvider
  • ZOOKEEPER-4852 - Fix the bad "*uuuuu" mark in the ASF license
  • ZOOKEEPER-4860 - Disable X-Forwarded-For in IPAuthenticationProvider by default
  • ZOOKEEPER-4862 - Doc for Secure prometheus support
  • ZOOKEEPER-4864 - TxnLogToolkit dump multi to unrecognized chars.
  • ZOOKEEPER-4869 - Update doc of Supporting for Multiple Time Units in autopurge.purgeInterval Configuration
  • ZOOKEEPER-4879 - Fix log arguments typo
  • ZOOKEEPER-4880 - Generate comments from zookeeper.jute into code
  • ZOOKEEPER-4891 - Update logback to 1.3.15 to fix CVE-2024-12798.
  • ZOOKEEPER-4898 - The incorrect usage of the subclass of ZooKeeperThread leads to the failure of exception handling
  • ZOOKEEPER-4902 - Document that read-only mode also enables isro 4lw
  • ZOOKEEPER-4906 - Log full exception details for server JAAS config failure
  • ZOOKEEPER-4912 - Remove default TLS cipher overrides
  • ZOOKEEPER-4915 - Change default value of znode.container.maxNeverUsedIntervalMs
  • ZOOKEEPER-4922 - Add Audit Logging Support for Login Events in ZooKeeper
  • ZOOKEEPER-4929 - Make c client side cert optional in connecting to tls server
  • ZOOKEEPER-4943 - Use Duration instead of int timeout for ZooKeeperBuilder
  • ZOOKEEPER-4944 - Cache zookeeper dists for end to end compatibility tests
  • ZOOKEEPER-4952 - Reduce the GC overhead of Prometheus reject exception handling
  • ZOOKEEPER-4954 - Use FIPS style hostname verification when no custom truststore is specified
  • ZOOKEEPER-4955 - Fix intererence with jvm ssl properties for ssl.crl and ssl.ocsp
  • ZOOKEEPER-4962 - Add getPort and getSecurePort for ZooKeeperServerEmbedded
  • ZOOKEEPER-4963 - Introduce ZooKeeper::builder for ZooKeeperBuilder
  • ZOOKEEPER-4964 - Check permissions individually during admin server auth
  • ZOOKEEPER-4965 - Drop unnecessary {{@SuppressWarnings("deprecation")}}
  • ZOOKEEPER-4966 - QuorumPeerConfig.ConfigException leaked to client side code through constructor of ZKConfig
  • ZOOKEEPER-4970 - Deprecate methods of ZKConfig which throw QuorumPeerConfig.ConfigException
  • ZOOKEEPER-4997 - Provide a dedicated method to construct trust manager
  • ZOOKEEPER-5022 - Add "exit" as alias to "quit" in zkCli.sh
  • ZOOKEEPER-5023 - Allow to set TLS version and ciphers for AdminServer
  • ZOOKEEPER-5024 - Allow to set TLS version and ciphers for PrometheusMetricsProvider
  • ZOOKEEPER-5042 - Enhance X-Forwarded-For setting in IPAuthenticationProvider
  • ZOOKEEPER-5043 - Disable fallback to DIGEST-MD5 in SaslServer when Fips mode is set
  • ZOOKEEPER-5050 - Disable AdminServer and enhance documentation to highlight security considerations
  • ZOOKEEPER-5054 - Netty client should allow every supported TLS ciphers
  • ZOOKEEPER-5058 - Remove special characters from ensemble name before logging in EnsembleAuthenticationProvider
  • ZOOKEEPER-5060 - Update GitHub Actions versions
  • ZOOKEEPER-5061 - ZooKeeper website fixes
  • ZOOKEEPER-5065 - Preserve doap.rdf in website builds
  • ZOOKEEPER-5067 - Remove older docs picker from the docs page
  • ZOOKEEPER-5075 - Upgrade jline jar to 3.30.14 or higher to fix CVE-2026-56740
  • ZOOKEEPER-5081 - Exclude zookeeper-website from OWASP Dependency-Check
  • ZOOKEEPER-5098 - Upgrade netty to 4.1.138 or latest to fix CVE-2026-89044
  • ZOOKEEPER-5099 - Upgrade jackson jars to 2.22.3 or latest to address CVE-2026-91776, CVE-2026-91777

Test

  • ZOOKEEPER-3624 - testFailedTxnAsPartOfQuorumLoss is flaky again
  • ZOOKEEPER-4768 - Flaky test org.apache.zookeeper.metrics.prometheus.ExportJvmInfoTest#exportInfo
  • ZOOKEEPER-4780 - Avoid creating temporary files in source directory.
  • ZOOKEEPER-4859 - C client tests hang to be cancelled quite often

Wish

Task


Edit on GitHub

On this page