[
https://issues.apache.org/jira/browse/HBASE-30049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HBASE-30049:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)