[
https://issues.jboss.org/browse/JBRULES-3274?page=com.atlassian.jira.plug...
]
RH Bugzilla Integration commented on JBRULES-3274:
--------------------------------------------------
Mario Fusco <mfusco(a)redhat.com> made a comment on [bug
969467|https://bugzilla.redhat.com/show_bug.cgi?id=969467]
I backported to 5.3.x the Fix for JBRULES-3274 that I developed in the 5.4.x.
Also I tried to reproduce the problem with this test
https://github.com/droolsjbpm/drools/blob/5.3.x/drools-compiler/src/test/...
but I couldn't. I think that this test case is somewhat meaningful anyway so I decided
to the codebase.
A BatchCommand triggering a rule which modifies the KBase causes a
deadlock
---------------------------------------------------------------------------
Key: JBRULES-3274
URL:
https://issues.jboss.org/browse/JBRULES-3274
Project: JBRULES
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
For more information on JIRA, see:
http://www.atlassian.com/software/jira