curator
curator copied to clipboard
Apache Curator
InterProcessMutext has performance issue when there are lots of threads trying to acqure the lock. For example we have 1000 threads trying to acquire the lock and the sequence number...
Recently came across “Double Locking Issue (i.e. two clients acquiring lock)” using Curator code ( InterProcessMutex lock APIs ) in our application Our use case: Two clients attempts to acquire...
See discussion here: http://mail-archives.apache.org/mod_mbox/curator-user/201909.mbox/%3cCALL9TYLWPz-OtQuFZnLQCpXi2cBO3Fd_mRLGF+RKa5pUWAK6oA@mail.gmail.com%3e Given the issues regarding GC pauses, etc. (https://cwiki.apache.org/confluence/display/CURATOR/TN10) there is no 100% guarantee that a instance using one of the leader election, lock, etc. recipes that...
Curator has several lock recipes(LeaderLatch, InterProcessMutex and etc.), but it has no simple intuitive method to guard modification under lock path. I am certain that CuratorFramework.transaction is capable of this,...
Avoid relocating Guava everywhere, which would cause NoSuchMethodError at runtime. cc Kezhu Wang Enrico Olivelli --- Originally reported by tison, imported from: Release Guava shaded in a dedicated artifacts assignee:...
I found this in verifying tests against staging artifacts. From description, CURATOR-558 tried to drop usages of guava in public API. This seems a missing. PS: https://cwiki.apache.org/confluence/display/CURATOR/TN13 seems dated in...
The curator-client leaks the com.google.guava:guava regardless of it being shaded within the artifact. https://search.maven.org/remotecontent?filepath=org/apache/curator/curator-client/4.2.0/curator-client-4.2.0.pom com.google.guava guava Note that since curator-client 4.2.0 was moved to Guava 27.0.1 as pat of CURATOR-502...
The DistributedBarrier adds a zookeeper exists watcher in the waitOnBarrier() method. It appears as though the watcher is never removed. In a system where DistributedBarriers are used heavily this eventually...
Before CURATOR-535, I occasionally saw "Address already in use" due to getRandomPort. But in solving jiras from ZooKeeper, I never saw such(probably due to my low activity though). Though after...
I known that InstanceSpec resides in org.apache.curator.test. But I think it is still a good to have. It is simply too many fields. --- Originally reported by kezhuw, imported from:...