Skip to content

CAMEL-23267: Remove outdated changes on compress#22500

Merged
davsclaus merged 1 commit intomainfrom
essobedo/CAMEL-23267/remove-outdated-changes-on-compress
Apr 9, 2026
Merged

CAMEL-23267: Remove outdated changes on compress#22500
davsclaus merged 1 commit intomainfrom
essobedo/CAMEL-23267/remove-outdated-changes-on-compress

Conversation

@essobedo
Copy link
Copy Markdown
Contributor

@essobedo essobedo commented Apr 9, 2026

Fix for https://issues.apache.org/jira/browse/CAMEL-23267 (4.19)

Motivation

We can have a lot of CPU consumption in case of adding and removing keys, like when we use MemoryIdempotentRepository

Modifications:

  • Improve the compression of the changes by ignoring changes whose key is no longer in the map

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions github-actions bot added the core label Apr 9, 2026
@essobedo essobedo force-pushed the essobedo/CAMEL-23267/remove-outdated-changes-on-compress branch 2 times, most recently from 7037839 to ee2ecd4 Compare April 9, 2026 06:27
@essobedo essobedo force-pushed the essobedo/CAMEL-23267/remove-outdated-changes-on-compress branch from ee2ecd4 to 311e7c1 Compare April 9, 2026 06:30
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

🧪 CI tested the following changed modules:

  • core/camel-support

ℹ️ Dependent modules were not tested because the total number of affected modules exceeded the threshold (50). Use the test-dependents label to force testing all dependents.


⚙️ View full build and test results

@davsclaus davsclaus merged commit 1b0ec7a into main Apr 9, 2026
6 checks passed
@davsclaus
Copy link
Copy Markdown
Contributor

Thanks I have backported to 4.18 and 4.14 branches also

@essobedo essobedo deleted the essobedo/CAMEL-23267/remove-outdated-changes-on-compress branch April 9, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants