andyvuong opened a new pull request #1131: SOLR-14134 : Add lazy and time-based evictiction of shared core concurrency metada… URL: https://github.com/apache/lucene-solr/pull/1131 Two Main Changes: - This change switches the cache from a ConcurrentHashMap to a TimeAwareLruCache with its underlying implementation simply being a Caffeine Cache. The default configurations, time delay before least-recently accessed (read or write) are evicted and maximum cache size are currently arbitrarily chosen and will later be configurable. - In ZkController#register, we evict any entry that already exists in the SharedCoreConcurrencyController cache if it already exists. This supports the collection reuse case described in the JIRA. This is done here because all ADDREPLICA paths flow through here logically and we want to evict entries before the replica gets marked ACTIVE (done here)
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org