You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jordan West (Jira)" <ji...@apache.org> on 2022/12/13 20:20:00 UTC
[jira] [Created] (CASSANDRA-18116) Denylist can load perpetually and too frequently if it fails persistently
Jordan West created CASSANDRA-18116:
---------------------------------------
Summary: Denylist can load perpetually and too frequently if it fails persistently
Key: CASSANDRA-18116
URL: https://issues.apache.org/jira/browse/CASSANDRA-18116
Project: Cassandra
Issue Type: Bug
Reporter: Jordan West
Assignee: Jordan West
When the denylist fails its initial load it can [return a value of null|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/schema/PartitionDenylist.java#L453] for a key in the cache. The [BoundedLoadingCache implementation|https://github.com/ben-manes/caffeine/blob/master/caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java#L2591-L2615] that is used treats null as missing and will end up trying to load the key on reads. Besides the performance impact this can also lead to significant log spam leading to disk or CPU usage issues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org