[infinispan-issues] [JBoss JIRA] (ISPN-2477) AsyncStore shutdown can leak threads

Adrian Nistor (JIRA) jira-events at lists.jboss.org
Wed Mar 27 10:06:42 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor updated ISPN-2477:
--------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/1736


This first pull request fixes the issue only partially. Please leave it open for now.
                
> AsyncStore shutdown can leak threads
> ------------------------------------
>
>                 Key: ISPN-2477
>                 URL: https://issues.jboss.org/browse/ISPN-2477
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 5.2.0.Beta3
>            Reporter: Adrian Nistor
>            Assignee: Galder Zamarreño
>             Fix For: 5.3.0.Final
>
>
> AsyncStore stop() should take care that all threads (coordinator and workers) are shut down. Right now there could be worker threads left hanging and the coordinator thread waiting forever for them to end.
> coordinator.join(shutdownTimeout) in AsyncStore.stop() could time out and both coordinator and worker thread will leak in this case.
> We must ensure the coordinator is terminated and the ExecutorService used for worker threads is also shut down when we exit AsyncStore.stop().

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



More information about the infinispan-issues mailing list