Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28313

StorefileRefresherChore should not refresh readonly table

    XMLWordPrintableJSON

Details

    • 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

          Activity

            People

              haosun Hao Sun
              haosun Hao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: