[
https://issues.apache.org/jira/browse/HBASE-24949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-24949.
-------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to master and branch-2.
Thanks [~zghao] for reviewing.
> 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
> Components: master
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.4.0
>
>
> 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)