curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Littlejohn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CURATOR-98) Avoid erroneous 'Could not cancel' warning produced by cache tasks
Date Wed, 19 Mar 2014 15:49:54 GMT
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)

Mime
View raw message