[jboss-jira] [JBoss JIRA] (JBRULES-3274) A BatchCommand triggering a rule which modifies the KBase causes a deadlock
Mario Fusco (Created) (JIRA)
jira-events at lists.jboss.org
Mon Oct 31 04:45:45 EDT 2011
A BatchCommand triggering a rule which modifies the KBase causes a deadlock
---------------------------------------------------------------------------
Key: JBRULES-3274
URL: https://issues.jboss.org/browse/JBRULES-3274
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
Create a BatchCommand containing an insert and a fireAll. Make that inserted fact activate a rule which modifies the KBase, e.g. adding another rule on the fly.
When executing the batch command, the thread will acquire a read lock. The kBase modification will then require a write lock, causing the deadlock.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list