[ https://issues.apache.org/jira/browse/HBASE-28313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-28313. ------------------------------- Fix Version/s: 2.6.0 2.4.18 2.5.8 3.0.0-beta-2 Hadoop Flags: Reviewed Resolution: Fixed Pushed to all active branches. Thanks [~haosun] for contributing! > StorefileRefresherChore should not refresh readonly table > --------------------------------------------------------- > > Key: HBASE-28313 > URL: https://issues.apache.org/jira/browse/HBASE-28313 > Project: HBase > Issue Type: Improvement > Components: regionserver > Affects Versions: 2.4.17 > Reporter: Hao Sun > Assignee: Hao Sun > Priority: Major > Labels: pull-request-available > Fix For: 2.6.0, 2.4.18, 2.5.8, 3.0.0-beta-2 > > > According to semantics, when StoreFile Refresher is turned on, only the area > with replicas should be refreshed. *Tables with read-only attributes will not > be refreshed.* > There are the following scenarios: Assume that some tables in the database > have replica enabled, while others do not. If a table that does not have > replica enabled needs to perform migration tasks - first enable readonly and > then export the snapshot, StorefileRefresherChore will always refresh the > table that does not have replica enabled but performs migration tasks. This > is obviously illogical. > Therefore, StorefileRefresherChore needs to determine whether the region has > a read-only copy, and refresh it if it has a read-only copy. And tables with > read-only properties are not refreshed. > patch:[HBASE-28313|https://github.com/apache/hbase/pull/5641] -- This message was sent by Atlassian Jira (v8.20.10#820010)