Joe Littlejohn created CURATOR-98:
-------------------------------------

             Summary: Avoid erroneous 'Could not cancel' warning produced by 
cache tasks
                 Key: CURATOR-98
                 URL: https://issues.apache.org/jira/browse/CURATOR-98
             Project: Apache Curator
          Issue Type: Bug
          Components: Client
    Affects Versions: 2.4.1
            Reporter: Joe Littlejohn


Pull request:

https://github.com/apache/curator/pull/3

When closing providers, we regularly see an erroneous warning related to a 
failure to cancel cache tasks.

This change applies some more defensive checks before attempting to cancel 
tasks, ensuring that the cancel operation is only attempted if the future has 
not completed.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to