发布于 2016-02-15 05:19:26 | 261 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Apache Curator

Curator提供了对zookeeper客户端的封装,并监控连接状态和会话session,特别是会话session过期后,curator能够重新连接zookeeper,并且创建一个新的session。


Apache Curator 今天发布两个新版本,分别是 2.10.0 和 3.1.0 。

其中 2.10.0 改进内容:

Bug

  • [CURATOR-208] - InterProcessSemaphoreV2 swallows InterruptedException

  • [CURATOR-209] - Background retry falls into infinite loop of reconnection after connection loss

  • [CURATOR-233] - Bug in double barrier

  • [CURATOR-244] - Creating parents with ACLProvider puts wrong ACLs on znodes

  • [CURATOR-278] - In transactions compressed option does not work with some fluent api combinations

  • [CURATOR-297] - Curator quickly starting+stopping a persistent ephemeral node causes dangling ephemeral node

Improvement

  • [CURATOR-279] - Semaphore Leases should return the node name

  • [CURATOR-294] - Optimize TreeCache, fix possible concurrency issue

  • [CURATOR-296] - Notify cache listeners when re-init completes after reconnect

  • [CURATOR-298] - Curator NodeCache.start() is blocking even with buildInitial=false

New Feature

  • [CURATOR-287] - PersistentEphemeralNode should be generalized to accept all create modes

  • [CURATOR-288] - Provide a mechanism to limit tree traversal in TreeCache + Return old values in NODE_REMOVED event

3.1.0 改进内容:

Bug

  • [CURATOR-208] - InterProcessSemaphoreV2 swallows InterruptedException

  • [CURATOR-244] - Creating parents with ACLProvider puts wrong ACLs on znodes

  • [CURATOR-271] - Curator does not run sync callback on supplied Executor

  • [CURATOR-274] - version 2.9.0 incorrectly calls mkdirs to create container nodes, when running against zk 3.4.6

  • [CURATOR-281] - Usage of TestingServer fails when upgrading to 3.0

  • [CURATOR-284] - NullPointerException at EnsembleTracker.processConfigData

  • [CURATOR-290] - Watcher removal is not removing internal Curator data structures

  • [CURATOR-297] - Curator quickly starting+stopping a persistent ephemeral node causes dangling ephemeral node

  • [CURATOR-299] - Copious "Failed to find watcher" log messages when closing Curator 3.0 recipes

  • [CURATOR-300] - Creating a node using storingStatIn breaks Curator with a logged NullPointerException

  • [CURATOR-302] - TestTreeCache.testKilledSession() fails in 3.0 branch

Improvement

  • [CURATOR-279] - Semaphore Leases should return the node name

  • [CURATOR-294] - Optimize TreeCache, fix possible concurrency issue

  • [CURATOR-296] - Notify cache listeners when re-init completes after reconnect

  • [CURATOR-298] - Curator NodeCache.start() is blocking even with buildInitial=false

New Feature

  • [CURATOR-287] - PersistentEphemeralNode should be generalized to accept all create modes

  • [CURATOR-288] - Provide a mechanism to limit tree traversal in TreeCache + Return old values in NODE_REMOVED event

Task

Test

  • [CURATOR-291] - Fix numerous "NamespaceWatcherMap is not empty" errors in test



历史版本 :
Apache Curator 4.0.0 发布,ZooKeeper 简化服务
Apache Curator 2.10.0 和 3.1.0 发布
Apache Curator 3.0.0 发布,ZooKeeper 客户端简化
Apache Curator 2.9 发布,ZooKeeper 客户端简化
Apache Curator 2.8.0 发布,简化 zookeeper 客户端
Apache Curator 2.7.1 发布,zookeeper 客户端简化
Apache Curator 2.7.0 发布
Apache Curator 2.6.0 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务