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

Make Infinispan use its own thread pool for sending messages in order to avoid thread deadlocks

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.Alpha1, 5.3.0.Final
    • None
    • None
    • None

      • when an OOB thread sends a sync request it blocks waiting on a sync in jgroups RequestCorrelator
      • it gets released by an another OOB thread when the remote node responds

      Now if all the OOB threads are blocked in sending, then there's no available OOB thread to unblock them even if responses from remote nodes have arrived - deadlock. In order to avoid this deadlock we can use a different thread pool for sending OOB messages.

      For a discussion around this please refer to: http://infinispan.markmail.org/search/#query:%20list%3Aorg.jboss.lists.infinispan-dev+page:1+mid:7buuwljp7i7fvnpe+state:results

            pruivo@redhat.com Pedro Ruivo
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: