[ 
https://issues.apache.org/jira/browse/HBASE-30339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109234#comment-18109234
 ] 

Xiao Liu commented on HBASE-30339:
----------------------------------

Pushed to branch-2.6+.

Thanks [~lupeng] for reviewing!

> 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: 3.0.0, 2.6.4, 2.6.5, 2.6.6, 2.6.7
>            Reporter: Xiao Liu
>            Assignee: Xiao Liu
>            Priority: Major
>              Labels: pull-request-available
>             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)

Reply via email to