[ 
https://issues.apache.org/jira/browse/CASSANDRA-15153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416868#comment-17416868
 ] 

Ben Manes commented on CASSANDRA-15153:
---------------------------------------

Sorry for the bug here. There are so many moving parts that I probably confused 
myself when writing that original and obviously bad code.. I'll review the test 
cases to make sure that this metadata is covered and not just fixed. Please do 
try to keep updated to recent versions for bug fixes.

> Ensure Caffeine cache does not return stale entries
> ---------------------------------------------------
>
>                 Key: CASSANDRA-15153
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15153
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/Authorization
>            Reporter: Per Otterström
>            Assignee: Aleksei Zotov
>            Priority: Normal
>              Labels: security
>             Fix For: 4.0.2, 4.1
>
>
> Version 2.3.5 of the Caffeine cache that we're using in various places can 
> hand out stale entries in some cases. This seem to happen when an update 
> fails repeatedly, in which case Caffeine may return a previously loaded 
> value. For instance, the AuthCache may hand out permissions even though the 
> reload operation is failing, see CASSANDRA-15041.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to