You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2013/05/22 15:53:21 UTC

[jira] [Created] (CURATOR-27) PathChildrenCache creates but doesn't shut down Executors

Ioannis Canellos created CURATOR-27:
---------------------------------------

             Summary: PathChildrenCache creates but doesn't shut down Executors
                 Key: CURATOR-27
                 URL: https://issues.apache.org/jira/browse/CURATOR-27
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
    Affects Versions: 2.0.1-incubating
            Reporter: Ioannis Canellos
            Assignee: Jordan Zimmerman


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).


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira