curator
curator copied to clipboard
Apache Curator
We experienced a problem that an InterProcessMutex participant acquired the lock -> when release() was running, it encountered zk connection lost, then there was inconsistency as in codes https://github.com/apache/curator/blob/master/curator-recipes/src/main/java/org/apache/curator/framework/recipes/locks/InterProcessMutex.java#L139 to...
For no retriable errors, CuratorListener will receive events if no BackgroundCallback specified. For retriable errors, CuratorListener is ignored. CuratorListener is catch all fallback for BackgroundCallback in case of of not...
line 362 log.error("Sequential path not found: " + path); Error level is not required here, as the exception handled by caller --- Originally reported by natalia.gorchakova, imported from: InterProcessSemaphoreV2: decrease...
We are exploring LeaderSelector to implement leader election in our spring application. To implement fencing, we have to fetch all the participating zNodes in the leader election and then match...
This code is confusing to me: Backgrounding.java void checkError(Throwable e, Watching watching) throws Exception { if ( e != null ) { if ( errorListener != null ) { errorListener.unhandledError("n/a",...
When a child path starts with the namespace unfixForNamespace removes the namespace string, thus creating a invalid path. With namespace "foo" the result of unfixForNamespace("/foobar") is "bar". --- Originally reported...
Currently, when PersistentNode.start() is called, and a node at the specified path already exists, this existing node's data is overwritten with the PersistentNode's data. Similarly, when PersistentNode.close() is called, the...
The GroupMember recipe currently doesn't provide any membership change events. I wanted this feature in my project and I've implemented it by making a copy of GroupMember in my project...
When closing PathChildrenCache, and immediately afterwards closing CuratorFramework, some ERROR-level stack traces are logged. This was previously reported on the mailing list: http://curator.markmail.org/thread/bmfr62ekx5p2vv7f The cause is that the BackgroundCallback defined...
When use zookeeper server 3.4.x with 3.5.x client. when use checkExists().creatingParentContainersIfNeeded() would lead Unimplemented Exception even dontUseContainerParents() was called for CuratorFrameworkFactory.builder(). --- Originally reported by w.vela, imported from: checkExists didn't...