mikkosc opened a new pull request, #2243: URL: https://github.com/apache/zookeeper/pull/2243
The ResponseCache has an inner class called `LRUCache extends LinkedHashMap`. But the LinkedHashMap does not work as an LRU unless the third constructor argument is `true`. This has basically reduced the caching to work as FIFO, if there are more than cache size elements to query then even popular items would have been dropped from the cache in FIFO insert order. Added unit test that fails if the LRU cache is not working. -- 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: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org