Jide created HBASE-30049:
----------------------------

             Summary: RestoreSnapshotHelper creates StoreFileTracker with wrong 
config causing no-op filelist updates
                 Key: HBASE-30049
                 URL: https://issues.apache.org/jira/browse/HBASE-30049
             Project: HBase
          Issue Type: Bug
          Components: snapshots
            Reporter: Jide


RestoreSnapshotHelper.restoreRegion() creates a StoreFileTracker using the raw 
Master configuration, which lacks the table-level 
hbase.store.file-tracker.impl=FILE setting. This causes 
StoreFileTrackerFactory.create() to resolve to DefaultStoreFileTracker, whose 
doSetStoreFiles() is a no-op, meaning the .filelist is never updated after the 
restore moves HFiles to archive. When the table is subsequently read, 
RegionServers attempt to open files listed in the stale .filelist that have 
already been archived, resulting in FileNotFoundException. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to