curator icon indicating copy to clipboard operation
curator copied to clipboard

Apache Curator

Results 143 curator issues
Sort by recently updated
recently updated
newest added

See also: * https://issues.apache.org/jira/browse/CURATOR-644 * https://issues.apache.org/jira/browse/CURATOR-645 ## Livelock in details Here we have two race conditions to cause livelock: Case 1. Suppose there are two participants, p0 and p1: T0....

Add CreateModable#withMode(CreateMode, PathEncodingType) where PathEncodingType is an enum with values DEFAULT and ALLOW_EMPTY. When a node is created with ALLOW_EMPTY, trailing /s will not be removed from the path. This...

This is a preview patch for when we will have ZK 3.7.0 and the official ZooKeeperServerEmbedded API. At that time we won't need to hack the internals of ZK

This commit tries to solve port conflict for `TestingServer` if port is unspecified(aka. `port

This PR is to mitigate the race condition issue. The random available port is now assigned right before starting Zookeeper testing server.

shutdown runSafeService to fix stop tomcat or other containerd . 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads Web应用程序[game-api]似乎启动了一个名为[Curator-SafeNotifyService-0]的线程,但未能停止它。这很可能会造成内存泄漏。线程的堆栈跟踪:[ sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:750)]

Continuation of #407 I will rebase it to `master` once #407 is merged!