[ https://issues.apache.org/jira/browse/HBASE-21514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722696#comment-16722696 ]
Guanghao Zhang commented on HBASE-21514: ---------------------------------------- Rebased and add 014 patch. Any more comments? [~anoop.hbase] [~stack] [~Apache9] > Refactor CacheConfig > -------------------- > > Key: HBASE-21514 > URL: https://issues.apache.org/jira/browse/HBASE-21514 > Project: HBase > Issue Type: Improvement > Reporter: Guanghao Zhang > Assignee: Guanghao Zhang > Priority: Major > Fix For: 3.0.0 > > Attachments: HBASE-21514.master.001.patch, > HBASE-21514.master.002.patch, HBASE-21514.master.003.patch, > HBASE-21514.master.004.patch, HBASE-21514.master.005.patch, > HBASE-21514.master.006.patch, HBASE-21514.master.007.patch, > HBASE-21514.master.008.patch, HBASE-21514.master.009.patch, > HBASE-21514.master.010.patch, HBASE-21514.master.011.patch, > HBASE-21514.master.011.patch, HBASE-21514.master.012.patch, > HBASE-21514.master.013.patch, HBASE-21514.master.013.patch, > HBASE-21514.master.014.patch > > > # Add block cache and mob file cache to HRegionServer's member variable. One > rs has one block cache and one mob file cache. > # Move the global cache instances from CacheConfig to BlockCacheFactory. > Only keep config stuff in CacheConfig. And the CacheConfig still have a > reference to the RegionServer's block cache. Whether to cache a block need > block cache is present and the related config is true. > # Remove MobCacheCofnig. It only used for the global mob file cache > instance. After move the mob file cache to RegionServer. It is not used > anymore. -- This message was sent by Atlassian JIRA (v7.6.3#76005)