[infinispan-issues] [JBoss JIRA] (ISPN-3800) Multiple ExecutorAllCompletionServices using the same executor may interfere

Radim Vansa (JIRA) jira-events at lists.jboss.org
Mon Dec 9 11:38:06 EST 2013


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

Radim Vansa resolved ISPN-3800.
-------------------------------

    Resolution: Rejected


My mistake, only the executor is shared, the executor service having the queue inside is private to the ExecutorAllCompletionService.
                
> Multiple ExecutorAllCompletionServices using the same executor may interfere
> ----------------------------------------------------------------------------
>
>                 Key: ISPN-3800
>                 URL: https://issues.jboss.org/browse/ISPN-3800
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 6.0.0.Final
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>
> If there are multiple ExecutorAllCompletionServices using the same executor, these may steal other's futures, and therefore, report the task to be finished prematurely.
> This may be the case for a preload from multiple cache loaders in parallel.
> The tasks sent to the executor have to be tagged and the service should poll only its own tasks.

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