Kezhu Wang created CURATOR-673: ---------------------------------- Summary: Complete BackgroundCallback if curator got closed or exceptions from no-zookeeper world Key: CURATOR-673 URL: https://issues.apache.org/jira/browse/CURATOR-673 Project: Apache Curator Issue Type: Improvement Reporter: Kezhu Wang Assignee: Enrico Olivelli Fix For: 5.6.0
Currently, {{BackgroundCallback}} has only one method to complete it in success call to zookeeper server. But if curator client got closed during background work, it is possible that there is no call to {{BackgroundCallback}}. I think it is better to notify callback in all cases. It is also a keypoint to turn {{BackgroundCallback}} to {{CompletableFuture}}. -- This message was sent by Atlassian Jira (v8.20.10#820010)