Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5317

BlockingTaskAwareExecutorService.cherkForReadyTasks() may block CacheTopologyControlCommand

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Alpha1
    • 7.2.0.Beta1, 7.1.1.Final
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: