[ https://issues.apache.org/jira/browse/SOLR-14239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki updated SOLR-14239: ------------------------------------ Summary: Fix the behavior of CaffeineCache.computeIfAbsent on branch_8x (was: Fix the behavior of CaffeineCache.computeIfAbsent) > 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. > 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: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org