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)

Reply via email to