taklwu commented on code in PR #8766:
URL: https://github.com/apache/hbase/pull/8766#discussion_r4276624277


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/cache/LruCacheEngine.java:
##########
@@ -801,21 +801,26 @@ long getOverhead() {
    */
   void evict() {
     if (!evictionLock.tryLock()) {
+      notifyEvictionPressure(0L);

Review Comment:
   I have the same question, when it's accessing by multiple threads, how could 
one make sure the eviction pressure does not accidentally  become 0L  



-- 
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]

Reply via email to