You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Szabolcs Bukros (Jira)" <ji...@apache.org> on 2022/05/09 13:37:00 UTC

[jira] [Commented] (HBASE-27017) MOB snapshot is broken when FileBased SFT is used

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

Szabolcs Bukros commented on HBASE-27017:
-----------------------------------------

This issue was found while working on HBASE-26969. TestMobCompactionWithDefaults uses cloneSnapshot.

> MOB snapshot is broken when FileBased SFT is used
> -------------------------------------------------
>
>                 Key: HBASE-27017
>                 URL: https://issues.apache.org/jira/browse/HBASE-27017
>             Project: HBase
>          Issue Type: Bug
>          Components: mob
>    Affects Versions: 2.5.0, 3.0.0-alpha-2
>            Reporter: Szabolcs Bukros
>            Priority: Major
>
> During snapshot MOB regions are treated like any other region. When a snapshot is taken and hfile references are collected a StoreFileTracker is created to get the current active hfile list. But the MOB region stores are not tracked so an empty list is returned, resulting in a broken snapshot. When this snapshot is cloned the resulting table will have no MOB files or references.
> The problematic code can be found here:
> [https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotManifest.java#L313]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)