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

PathChildrenCache creates but doesn't shut down Executors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1-incubating
    • 2.3.0
    • Recipes
    • None

    Description

      After the introduction of the CloseableExecutorService (see CURATOR-17) the PathChildrenCache may create Executor services that it doesn't close.

      Ideally, the CloseableExecutorService should accept a parameter that specifies if the executor needs to be shutdown on close. Recipes that create their own ExecutorService should set this parameter to true. When an executor not directly managed by the recipe is used, the flag should be just false, so that the the executor doesn't always close (satisfy CURATOR-17).

      Attachments

        1. CURATOR-27.patch
          7 kB
          Ioannis Canellos

        Issue Links

          Activity

            People

              iocanel Ioannis Canellos
              iocanel Ioannis Canellos
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: