You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "amaechler (via GitHub)" <gi...@apache.org> on 2026/05/28 03:01:36 UTC
[PR] Bump `caffeine` to `3.2.4` and `errorprone` to `2.49.0` (druid)
amaechler opened a new pull request, #19527:
URL: https://github.com/apache/druid/pull/19527
### Description
This PR bumps two dependencies, `caffeine` (`2.9.3 to 3.2.4`), and `errorprone` (`2.41.0 to 2.49.0`). They update goes together because `caffeine` pulls in `error_prone_annotations` transitively, which violates `requireUpperBoundDeps` without the `errorprone` bump.
#### Rewrote CaffeineCacheTest.testSizeEviction
The old test assumed that when the cache exceeded its size limit, the first-inserted entry was always the one evicted, but caffeine 3's eviction policy can keep either entry based on access frequency. The rewrite asserts only that eviction happened and the cache stayed within its size bound, not which specific key was kept.
<hr>
This PR has:
- [ ] been self-reviewed.
- [ ] a release note entry in the PR description.
- [x] added or updated version, license, or notice information in [licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
- [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] build(deps): Bump `caffeine` to `3.2.4` and `errorprone` to `2.49.0` (druid)
Posted by "FrankChen021 (via GitHub)" <gi...@apache.org>.
FrankChen021 merged PR #19527:
URL: https://github.com/apache/druid/pull/19527
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org