[jboss-jira] [JBoss JIRA] (DROOLS-569) Property reactivity prevents index update

Mario Fusco (JIRA) issues at jboss.org
Wed Jul 30 14:34:29 EDT 2014


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

Mario Fusco reopened DROOLS-569:
--------------------------------



This fix is not thread safe. In particular the beta memory shouldn't be changed from the alpha network (user thread).

More in general we found we also have a potential race condition since the alpha network can change the PropagationContext inside a RightTuple while the beta network is using it. For now the only suggested solution is making the pctx inside the RightTuple immutable and cloning the whole RT when it is necessary to change it. However this is still under discussion.

> Property reactivity prevents index update
> -----------------------------------------
>
>                 Key: DROOLS-569
>                 URL: https://issues.jboss.org/browse/DROOLS-569
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>              Labels: backport-to-6.0.x
>             Fix For: 6.2.0.Beta1
>
>
> When a property is part of the pattern matching it can anyway be excluded from the property reactivity with a negative watch. Anyway if the property is also indexed this implies that when the fact is modified it skips not only the modification propagation (as requested) but also the update of the corresponding index causing an inconsistency.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list