[
https://issues.apache.org/jira/browse/CASSANDRA-21557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Miklosovic updated CASSANDRA-21557:
------------------------------------------
Fix Version/s: 6.0-alpha3
(was: 6.x)
Since Version: 6.0-alpha1
Source Control Link:
https://github.com/apache/cassandra/commit/ab5384918c7e263230e3c3ec3bbbba4624114a2d
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> Caffeine caches in CompressionDictionaryCache and ZstdDictionaryCompressor
> should specify an executor explicitly
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21557
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21557
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Feature/Compression
> Reporter: Stefan Miklosovic
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 6.0-alpha3
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We are not setting executor on these caches which means that Caffeine will
> run stuff like {{removalListener}} on its default executor which is
> ForkJoinPool.commonPool() which contends with everything else. There is a
> pattern in Cassandra that each cache sets its own executor so we should do
> the same.
> We should use, most probably, ImmediateExecutor.INSTANCE
> https://github.com/ben-manes/caffeine/blob/v3.1.8/caffeine/src/main/java/com/github/benmanes/caffeine/cache/Caffeine.java#L337
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]