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

Ted Yu commented on HBASE-15862:
--------------------------------

Since the snapshot restore would restore the region boundaries at time of full 
backup, simply truncating the table may not work (there may be splits in 
between the full backup and subsequent incremental backups).

I wonder if we should add metadata into backup manifest so that we know whether 
truncate is applicable.

> Backup - Delete- Restore does not restore deleted data
> ------------------------------------------------------
>
>                 Key: HBASE-15862
>                 URL: https://issues.apache.org/jira/browse/HBASE-15862
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>              Labels: backup
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15862-v1.patch, HBASE-15862-v2.patch, 
> HBASE-15862-v3.patch
>
>
> This was discovered during testing. If we delete row after full backup and 
> perform immediately restore, the deleted row still remains deleted. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to