dsmiley commented on PR #1481: URL: https://github.com/apache/solr/pull/1481#issuecomment-1660819926
You could even modify the logic so we optimistically assume non-recursion (the fast path). if the lambda in compute-if-absent sees we aren't so lucky, it could throw an exception to bail out of the computeIfAbsent call. Catch it outside, and do the fallback logic. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
