Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMEL-20850: camel-core - compress changes in SimpleLRUCache #14483

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

essobedo
Copy link
Contributor

Fix for https://issues.apache.org/jira/browse/CAMEL-20850 in Camel 4.0

Motivation

When the queue of changes is full, some entries can be evicted while the cache is not, which is not expected.

Modifications:

  • Compress the changes by removing duplicates before the eviction
  • Add a minimum size for the queue of changes

@github-actions github-actions bot added the core label Jun 11, 2024
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🐫 Maintainers, please note that first-time contributors require manual approval for the GitHub Actions to run.

⚠️ Please note that the changes on this PR may be tested automatically if they change components.

🤖 Use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot.

If necessary Apache Camel Committers may access logs and test results in the job summaries!

@essobedo essobedo merged commit f317473 into camel-4.0.x Jun 11, 2024
4 checks passed
@essobedo essobedo deleted the CAMEL-20850/compress-changes-4.0 branch June 11, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant