[infinispan-issues] [JBoss JIRA] (ISPN-5470) Remote-executor threads should not block to acquire locks

Tristan Tarrant (JIRA) issues at jboss.org
Tue May 17 08:22:12 EDT 2016


     [ https://issues.jboss.org/browse/ISPN-5470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-5470:
----------------------------------
    Fix Version/s: 9.0.0.Alpha3
                       (was: 9.0.0.Alpha2)


> Remote-executor threads should not block to acquire locks
> ---------------------------------------------------------
>
>                 Key: ISPN-5470
>                 URL: https://issues.jboss.org/browse/ISPN-5470
>             Project: Infinispan
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 7.2.1.Final
>            Reporter: Dan Berindei
>             Fix For: 9.0.0.Alpha3
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list