[
https://issues.apache.org/jira/browse/HBASE-30049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18070157#comment-18070157
]
Prathyusha commented on HBASE-30049:
------------------------------------
Thanks for debugging and reporting this [~bit01jide] , changes look good to me,
added few comments on the tests
> 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)