[
https://issues.apache.org/jira/browse/SOLR-14239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030145#comment-17030145
]
Andy Webb commented on SOLR-14239:
----------------------------------
Thanks Andrzej!
> Fix the behavior of CaffeineCache.computeIfAbsent on branch_8x
> --------------------------------------------------------------
>
> Key: SOLR-14239
> URL: https://issues.apache.org/jira/browse/SOLR-14239
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 8.4.1
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
> Fix For: 8.5
>
>
> Spin-off from SOLR-13817, spotted by Andy Webb.
> The back-port of {{CaffeineCache}} to branch_8x is missing a conditional
> statement in {{computeIfAbsent}} which breaks the contract of this method,
> i.e. if the loading function returns null the cache mapping should remain
> unchanged and a null value should be returned.
> Note: this only affects branch_8x, master already has this conditional.
> This issue also modifies comments in the default {{solrconfig.xml}} to
> indicate that the old cache implementations existing in branch_8x are
> deprecated in favor of CaffeineCache.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]