You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "shivesh (JIRA)" <ji...@apache.org> on 2019/07/02 10:58:00 UTC

[jira] [Created] (CURATOR-529) Sync with inBackground doesnt complete if curator client is closed

shivesh created CURATOR-529:
-------------------------------

             Summary: Sync with inBackground doesnt complete if curator client is closed 
                 Key: CURATOR-529
                 URL: https://issues.apache.org/jira/browse/CURATOR-529
             Project: Apache Curator
          Issue Type: Bug
          Components: Client, Framework
    Affects Versions: 4.0.1
         Environment: 
    Version: 4.0.1
    Platform: linux
    Subsystem: ubuntu

            Reporter: shivesh


Calling sync with a callback on a closed client doesnt fail synchronously. Nor is the callback invoked with failure details.

{{client.close(); }}

{{client.sync().inBackground(callback, executor).forPath(path); }}

 

Callback should have been called with IllegalStateException or any other appropriate failure. But the callback should be invoked just like it is for all other types of calls.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)