You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/09/14 14:10:06 UTC

[GitHub] [lucene-solr] madrob opened a new pull request #2572: SOLR-15555

madrob opened a new pull request #2572:
URL: https://github.com/apache/lucene-solr/pull/2572


   Create a new cache mode for CaffeineCache where we can optionally use an
   async cache instead of the synchronous implementation. This is useful
   for cases (esp FilterQuery) where many identical requests come in near
   the same time and they would otherwise race to fill the same cache slot.
   
   CaffeineCache computeIfAbsent now accepts an IOFunction instead of
   the non-throwing java.util.Function interface.
   
   This required an update to CaffeineCache 2.9, which updates putIfAbsent
   with an optimistic get.
   
   Also incidentally fixes a rare bug where cache ramBytesUsed would be
   incorrectly reported under heavy cache contention/eviction loads.
   
   Based on c942c7242c2fb9f45b21675f5895835412ecaf7a


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-solr] madrob merged pull request #2572: SOLR-15555

Posted by GitBox <gi...@apache.org>.
madrob merged pull request #2572:
URL: https://github.com/apache/lucene-solr/pull/2572


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org