[jboss-jira] [JBoss JIRA] (DROOLS-175) Deadlock when invoking queries concurrently

Gabor Gyongyi (JIRA) jira-events at lists.jboss.org
Thu Jun 20 07:03:21 EDT 2013


Gabor Gyongyi created DROOLS-175:
------------------------------------

             Summary: Deadlock when invoking queries concurrently
                 Key: DROOLS-175
                 URL: https://issues.jboss.org/browse/DROOLS-175
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 5.5.0.Final
            Reporter: Gabor Gyongyi
            Assignee: Mark Proctor


I have a query that I want to execute from multiple threads using statefulKnowledgeSession.getQueryResults. One of the threads wants to invoke lock.writeLock().lock() in the 105th line of UpgradableReentrantReadWriteLock. The problem is that the other threads already own the readLock and they cannot proceed until the first query thread finishes with its job. They will wait for each other.
I experienced the same problem with 5.4.0.Final as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list