You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yulin Niu (Jira)" <ji...@apache.org> on 2021/01/15 11:21:00 UTC

[jira] [Resolved] (HBASE-25442) Refactor MultiVersionConcurrencyControl: replace readWaiters.notifyAll() with WriteEntry.notify()

     [ https://issues.apache.org/jira/browse/HBASE-25442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yulin Niu resolved HBASE-25442.
-------------------------------
    Resolution: Won't Fix

> 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
>            Priority: Minor
>         Attachments: 50M-performance.pdf
>
>
> [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)