Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-98

Avoid erroneous 'Could not cancel' warning produced by cache tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.4.2
    • Client
    • None

    Description

      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.

      Attachments

        Activity

          People

            randgalt Jordan Zimmerman
            japher Joe Littlejohn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: