hardikisc opened a new issue, #6241:
URL: https://github.com/apache/incubator-kie-drools/issues/6241
Hi,
In my drools 6.5 application we were reusing StatefulKnowledgeSession. After
execution of rules we were deleting all facts from the working memory using:
for (FactHandle fact : session.getFactHandles()){
inputProcessorSession.retract(fact);
}
I upgrade the application to drools 7.60 and we started reusing kieSession
such that I would delete all the facts from working memory using below code :
List<FactHandle> handlesToRetract = new ArrayList<>(factHandles);
for (FactHandle handle : handlesToRetract) {
inputProcessorSession.retract(handle);
}
But in drools 7.60 When I use the drools session again I am seeing already
retracted objects in my working memory.
I have verified that we are not inserting any fact again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]