[infinispan-issues] [JBoss JIRA] (ISPN-5317) BlockingTaskAwareExecutorService.cherkForReadyTasks() may block CacheTopologyControlCommand

Pedro Ruivo (JIRA) issues at jboss.org
Fri Mar 20 10:57:18 EDT 2015


Pedro Ruivo created ISPN-5317:
---------------------------------

             Summary: 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.1.1.Final, 7.2.0.Beta1
            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.11#6341)


More information about the infinispan-issues mailing list