Yulin Niu created HBASE-25442:
---------------------------------

             Summary: Refactor MultiVersionConcurrencyControl: replace 
readWaiters.notifyAll() with WriteEntry.notify()
                 Key: HBASE-25442
                 URL: https://issues.apache.org/jira/browse/HBASE-25442
             Project: HBase
          Issue Type: Improvement
            Reporter: Yulin Niu
            Assignee: Yulin Niu


[https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.java#L217]
 

here the notifyAll() wake up all thread, even the read point no big enough, 
bring extra thread switch

[https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.java#L143]
 

WriteEntry object can be thread local to reuse



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to