ben-manes commented on PR #1118:
URL: https://github.com/apache/solr/pull/1118#issuecomment-1290160892

   We will need to see the stacktrace and debug details. Caffeine’s loop 
retries only if the entry was a stale read and once locked is determined to 
have been already removed from the map. That state transition can only happen 
in the lock and within a map removal operation. That leaves a small window for 
a stale read, with the caveat of Map.remove(key). That method discards a 
refresh, which could block if something weird happened during registration. 
Since refresh isn’t being used here, I cannot deduce any reason for a bug in 
Caffeine’s code. As ConcurrentHashMap also loops forever, and was the 
originally claimed source, we need the details to assess a possible cause.


-- 
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-unsubscr...@solr.apache.org

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


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

Reply via email to