Ted Yu commented on HBASE-16841:

Is it possible to add a test ?

> 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
>         Attachments: HBASE-16841.patch
> 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

Reply via email to