Apache Curator 2.9 发布,此版本改进了 Java 库,使得 Apache ZooKeeper 使用更简单更可靠。
更新内容:
Bug 修复
[CURATOR-167] - All registered watchers should be cleared on close
[CURATOR-218] - Race condition in client.blockUntilConnected()
[CURATOR-224] - Locking Not Working with DistributedIdQueue
[CURATOR-228] - A serious death cycle error(一个严重的死循环错误)
[CURATOR-231] - TestDistributedQueue.testRetryAfterFailure_Curator56 fails
[CURATOR-234] - Add test logging back to modules
[CURATOR-235] - LeaderSelector.internalRequeue should be private
[CURATOR-236] - TreeCache throws IllegalArgumentException when node is a substring of the requested path
[CURATOR-240] - Severe memory leak in TreeCache when path does not exist
[CURATOR-241] - PersistentEphemeralNode writes initial data on reconnect
[CURATOR-242] - TestDistributedQueue.testCustomExecutor() is failing
[CURATOR-243] - TestDistributedIdQueue.testRequeuingWithLock is failing
[CURATOR-254] - TestBoundedDistributedQueue:testMulti fails intermittently
改进
[CURATOR-129] - Two of PathChildrenCache's constructors need better doc
[CURATOR-223] - PathChildrenCache (wastefully) creates a thread per monitored node.
新特性
[CURATOR-222] - Support Container Nodes
下载:http://www.apache.org/dyn/closer.cgi/curator/
(mirror sync times may vary)
zookeeper 的客户端调用过于复杂,Apache Curator 就是为了简化zookeeper客户端调用而生,利用它,可以更好的使用zookeeper。
来自:开源中国社区

