[infinispan-issues] [JBoss JIRA] (ISPN-5317) BlockingTaskAwareExecutorService.cherkForReadyTasks() may block CacheTopologyControlCommand
Pedro Ruivo (JIRA)
issues at jboss.org
Thu May 7 09:37:46 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pedro Ruivo updated ISPN-5317:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/3434
> BlockingTaskAwareExecutorService.cherkForReadyTasks() may block CacheTopologyControlCommand
> -------------------------------------------------------------------------------------------
>
> Key: ISPN-5317
> URL: https://issues.jboss.org/browse/ISPN-5317
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.2.0.Beta1, 7.1.1.Final
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
>
> Current implementation, checkForReadyTasks() is invoked in the StateConsumer after the topology is updated.
> If the remote-thread-pool is full (i.e. no more threads available), the checkForReadyTasks() will start processing commands in the invoker thread. If it happens, the CacheTopologyControlCommand has not done processing and the cache topology updated is delayed.
> It may cause some problems!
> The solution, it would be to invoke the checkForReadyTasks() in the StateTransferManager, after the StateConsumer and StateProvider had finished they work.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list