[
https://issues.apache.org/jira/browse/HBASE-16841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jingcheng Du updated HBASE-16841:
---------------------------------
Description:
When taking a snapshot on a enabled mob table, each region flushes itself and
takes a snapshot, and the mob snapshot is taken only if the current region is
first region of the table. At that time, the flushing of some regions might not
be finished, and some mob files are not flushed to disk yet. Eventually some
mob files are not recorded in the snapshot manifest.
To solve this, we need to take the mob snapshot at last after the snapshots on
all the online and offline regions are finished in
{{EnabledTableSnapshotHandler}}.
was:
When taking a snapshot on a enabled mob table, each region flushes itself and
takes a snapshot, and the mob snapshot is taken only if the current region is
first region of the table. At that time, the flushing of some regions might not
be finished, and some mob files are not flushed to disk yet. Eventually some
mob files are not recorded in the snapshot manifest.
To solve this, we need to generate a mob manifest for each region server after
the snapshot of all online regions in that server are finished, and merge them
in master when all the snapshots of regions are finished at last.
> Data loss in MOB files after cloning a snapshot and deleting that snapshot
> --------------------------------------------------------------------------
>
> Key: HBASE-16841
> URL: https://issues.apache.org/jira/browse/HBASE-16841
> Project: HBase
> Issue Type: Bug
> Components: mob, snapshots
> Reporter: Jingcheng Du
> Assignee: Jingcheng Du
>
> When taking a snapshot on a enabled mob table, each region flushes itself and
> takes a snapshot, and the mob snapshot is taken only if the current region is
> first region of the table. At that time, the flushing of some regions might
> not be finished, and some mob files are not flushed to disk yet. Eventually
> some mob files are not recorded in the snapshot manifest.
> To solve this, we need to take the mob snapshot at last after the snapshots
> on all the online and offline regions are finished in
> {{EnabledTableSnapshotHandler}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)