Re-examining the controversy surrounding CURATOR-157
Author: linghengqianCreated Sep 23, 2026Updated Sep 23, 2026
Labelsbugrefactor
Feature Request
For English only, other languages will not accept.
Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
/*
* // TODO sleep 500ms, let cache client close first and then client, otherwise will throw exception reference:https://issues.apache.org/jira/browse/CURATOR-157
*/
private void waitForCacheClose() {
try {
Thread.sleep(500L);
} catch (final InterruptedException ex) {
Thread.currentThread().interrupt();
}
}Describe the feature you would like.
- Re-examining the controversy surrounding CURATOR-157. See https://github.com/apache/curator/pull/51 and https://github.com/apache/curator/issues/678 .
Closed as stale. There're many changes since this patch was made in the first place. Feel free to resubmit it if it's still relevant. BTW,
NodeCacheandPathChildrenCacheare deprecated now, you can useCuratorCacheinstead to see if this is still an issue.
Source: apache/shardingsphere-elasticjob