You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2020/08/25 09:38:00 UTC

[jira] [Created] (HBASE-24949) Optimize FSTableDescriptors.get to not always go to fs when cache miss

Duo Zhang created HBASE-24949:
---------------------------------

             Summary: Optimize FSTableDescriptors.get to not always go to fs when cache miss
                 Key: HBASE-24949
                 URL: https://issues.apache.org/jira/browse/HBASE-24949
             Project: HBase
          Issue Type: Improvement
            Reporter: Duo Zhang


Since in the below getAll method, if fsvisited is true, we will just return what we have in cache.

We should also do this in the get method, if fsvisited is true, we do not need to go to fs any more.

Another benefit here is that, when executing procedures on master, we do not need to go to meta region any more, we could just check if we have a table descriptor in cache.



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