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

Don't keep threads blocked when waiting for locks to be released

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.0.0.CR1
    • Fix Version/s: 8.0.0.Beta3
    • Component/s: Core
    • Labels:
      None

      Description

      ATM if a tx2 waits on a lock to be released by tx1, the (incoming) tx2 thread is BLOCKED and taken out from the pool. A better way to implement this is by using a structure that would hold and order the depending transactions on the receiver correlated with the async execution API from JGroups 3.3.0, result being that tx2 would not BLOCK but return to the pool this (not maxing out the thread pool that executes commands).
      More about it in the "Async invocation section" of https://docspace.corp.redhat.com/docs/DOC-134411

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pruivo Pedro Ruivo
                  Reporter:
                  mircea.markus Mircea Markus
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: