Skip to content

[2.0.x] Revised purgeCancelledJob workaround as it's fixed in drools 9.106.0 - #218

Merged
tkobayas merged 2 commits into
kiegroup:2.0.xfrom
tkobayas:revise-purge-workaround
Sep 1, 2026
Merged

[2.0.x] Revised purgeCancelledJob workaround as it's fixed in drools 9.106.0#218
tkobayas merged 2 commits into
kiegroup:2.0.xfrom
tkobayas:revise-purge-workaround

Conversation

@tkobayas

Copy link
Copy Markdown
Collaborator
  • DROOLS_PURGE_CANCELLED_JOB_EVENT_COUNT_THRESHOLD env var can still be used. Default is 100

- DROOLS_PURGE_CANCELLED_JOB_EVENT_COUNT_THRESHOLD env var can still be used. Default is 100

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates cancelled pseudo-clock job purging for Drools 9.106.0.

Changes:

  • Replaces the reflection workaround with Drools configuration.
  • Retains the environment-variable override.
  • Raises HA memory-test thresholds.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
RulesExecutorSession.java Configures Drools and removes manual purging.
AbstractRulesEvaluator.java Removes obsolete purge invocation.
HAIntegrationMemoryLeakTest.java Adjusts acceptable memory overhead.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tkobayas
tkobayas merged commit a27a864 into kiegroup:2.0.x Sep 1, 2026
6 checks passed
tkobayas added a commit that referenced this pull request Sep 1, 2026
….106.0 (#218) (#219)

* Revised purgeCancelledJob workaround as it's fixed in drools 9.106.0
- DROOLS_PURGE_CANCELLED_JOB_EVENT_COUNT_THRESHOLD env var can still be used. Default is 100

* - moved to RulesExecutorFactory for earlier initialization
- non-numeric, negative number check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants