curator
curator copied to clipboard
Apache Curator
InterProcessMutex performs two significant steps to acquire its lock: Creates an ephemeral sequential node. This practically means that it took a position in the lock queue (i.e. based on its...
In CURATOR-584, I added idempotent write operations to the main curator framework. I would like to also add support for these to the async framework. --- Originally reported by jmslocum16,...
On suspend and reconnect, Curator calls ZooKeeper.updateServerList via ConnectionState.checkState --> ConnectionState.handleNewConnectionString. In addition, recipes may be triggered by this as well, and they too make calls ZooKeeper.updateServerList via ConnectState.checkTimeouts -->...
Calls to TestCleanState.closeAndTestClean() in the code have realized their purpose and can likely be removed. They add flakiness to our tests. I'll leave this ticket open and slowly remove calls...
ServiceCacheImpl does not close the ExecutorService instance created from the ThreadFactory: https://github.com/apache/curator/blob/master/curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceCacheImpl.java#L64 CloseableExecutorService::CloseableExecutorService(ExecutorService) call this(executorService, false) which sets shutdownOnClose to false. this has an impact from callers, eg ServiceProviderImpl, which...
This piece of code in PathUtils.java seems to use odd ranges for disallowed characters: } else if (c > '\u0000' && c < '\u001f' || c > '\u007f' && c...
As seen in CURATOR-525, there is a lot of tech debt and, frankly, incomprehensible code in parts of Curator's connection handling. CURATOR-525 had to add an ugly hack due to...
We have some tests that take several minutes. This isn't serving a good purpose and makes the entire test suite take a long time to run. E.g. TestInterProcessSemaphore.testMaxPerSession() takes over...
Add Automatic-Module-Name to the project jars in support of the Java 9 module system. I am opening this ticket because Accumulo requires its dependencies to have stable module names before...
The doc here - http://curator.apache.org/curator-x-discovery/index.html - discusses Service Cache and states "If you need more than occasional querying of services you can use the ServiceCache". The problem with this documentation...