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

PathChildrenCache creates but doesn't shut down Executors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1-incubating
    • Fix Version/s: 2.3.0
    • Component/s: Recipes
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: