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

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

Szabolcs Bukros created HBASE-27017:
---------------------------------------

             Summary: 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: 3.0.0-alpha-2, 2.5.0
            Reporter: Szabolcs Bukros


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)