hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "terry zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9214) CatalogJanitor delete region info in Meta during Restore snapshot
Date Wed, 14 Aug 2013 10:40:47 GMT

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

terry zhang commented on HBASE-9214:

I wonder if we could change CatalogJanitor not to remove split region info when table is disabled
to avoid this issue?
> CatalogJanitor delete region info in Meta during Restore snapshot
> -----------------------------------------------------------------
>                 Key: HBASE-9214
>                 URL: https://issues.apache.org/jira/browse/HBASE-9214
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.94.10
>            Reporter: terry zhang
> Today I meet a issue during restore snapshot. It can be reproduce in step below:
> 1. Table t1 create a Snapshot s1 successfully
> 2. region r1 in t1 split 
> 3. CatalogJanitor Chore begin to work and found daughter  do not have reference , so
r1 can be deleted
> 4. restore snapshot s1 . RestoreSnapshotHelper add region r1 to meta table
> 5.  CatalogJanitor delete r1 region info in meta which RestoreSnapshotHelper just inserted
> 6. restore snapshot finished.
> Then we can found there is a hole in t1 after restore snapshot. Data loss.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message