commit | 4221604facf2447f4ef7789842ac0b8c4a9d4763 | [log] [tgz] |
---|---|---|
author | Kezhu Wang <kezhuw@apache.org> | Tue May 23 15:47:44 2023 +0800 |
committer | GitHub <noreply@github.com> | Tue May 23 15:47:44 2023 +0800 |
tree | da8e097508d5c19f211511d5ebf00d5912b6e341 | |
parent | 1e82d0c1d0708d84d06e5757e435d1d9dbebfb48 [diff] |
CURATOR-593: Append chroot for EnsembleProvider::setConnectionString in EnsembleTracker (#460) Curator uses `EnsembleProvider::getConnectionString` as connection string to `ZooKeeper`. `EnsembleTracker` subscribes to config node to construct up to date connection string for `EnsembleProvider`. This is great. But, currently, `EnsembleTracker` omits chroot part of connection string which could cause curator locating at ZooKeeper root after reconnection. This could damage clients' data hierarchy in unexpected manner.
Apache Curator is a Java/JVM client library for Apache ZooKeeper, a distributed coordination service.
Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much easier and more reliable. It also includes recipes for common use cases and extensions such as service discovery and a Java 8 asynchronous DSL.
For more details: