[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2340) FireUntilHalt has race condition when using different entry points

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sun Nov 15 19:46:29 EST 2009


    [ https://jira.jboss.org/jira/browse/JBRULES-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494745#action_12494745 ] 

Mark Proctor commented on JBRULES-2340:
---------------------------------------

I've added a temporary fix, that adds an atomic boolean flag that checked for missed notifications. However this is clunky. We need to resolve the root issue, which is where we have an insert causing an agenda.notifyHalt(), but that gets blocked because we in an insert is blocking fireUntilHalt() {....this.workingMemory.executeQueuedActions(). More importantly why is the PQN notifying the agenda.halt()? Surely that only needs notification when an activation is created?

> FireUntilHalt has race condition when using different entry points
> ------------------------------------------------------------------
>
>                 Key: JBRULES-2340
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2340
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core, drools-core  (expert)
>    Affects Versions: 5.1.0.M1
>            Reporter: Mark Proctor
>            Assignee: Mark Proctor
>             Fix For: 5.1.0.M2
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list