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

Remote-executor threads should not block to acquire locks

    XMLWordPrintable

Details

    • Task
    • Resolution: Obsolete
    • Major
    • None
    • 7.2.1.Final
    • Core
    • None

    Description

      Currently, enabling the queue on the remote-executor thread pool can cause deadlocks, because a CommitCommand/1PCPrepareCommand could end up in the queue while a remote-executor thread is busy waiting to acquire the same lock that this commit would release.

      If trying to acquire a lock would free the thread until the key has been acquired, we could enable the queue on the remote-executor/OOB thread pools, and we would need a lot less threads for the same load.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: