Xiao Liu created HBASE-30339:
--------------------------------
Summary: MobFileCleanupUtil loads store files from the wrong
region directory
Key: HBASE-30339
URL: https://issues.apache.org/jira/browse/HBASE-30339
Project: HBase
Issue Type: Bug
Components: mob
Affects Versions: 2.6.7, 2.6.6, 2.6.5, 2.6.4, 3.0.0
Reporter: Xiao Liu
Assignee: Xiao Liu
Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8
{\{MobFileCleanupUtil}} iterates over real data regions but creates
{\{HRegionFileSystem}} using the MOB pseudo-region. \{{StoreFileTracker}}
therefore
reads the wrong directory and returns no store files.
Old store files without \{{MOB_FILE_REFS}} are missed, so cleanup may archive
MOB
files that are still referenced.
Use the \{{RegionInfo}} from the current region directory when creating
{\{HRegionFileSystem}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)