Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.17
-
Reviewed
-
Patch
Description
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
Attachments
Issue Links
- links to