Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27017

MOB snapshot is broken when FileBased SFT is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0, 3.0.0-alpha-2
    • 2.5.0, 3.0.0-alpha-3
    • mob
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bszabolcs Szabolcs Bukros
              bszabolcs Szabolcs Bukros
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: