You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chunhui shen (JIRA)" <ji...@apache.org> on 2012/06/13 11:39:43 UTC
[jira] [Updated] (HBASE-6205) Support an option to keep data of
dropped table for some time
[ https://issues.apache.org/jira/browse/HBASE-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chunhui shen updated HBASE-6205:
--------------------------------
Attachment: HBASE-6205.patch
In the patch:
Move regions to trash table dir when dropping tables, and clear these regions after time out.
Default keep time: 1 day
{code}
this.keepTime = conf.getLong("hbase.master.trashtable.keeptime",
+ 24 * 3600 * 1000l);
{code}
> Support an option to keep data of dropped table for some time
> -------------------------------------------------------------
>
> Key: HBASE-6205
> URL: https://issues.apache.org/jira/browse/HBASE-6205
> Project: HBase
> Issue Type: Improvement
> Components: master
> Reporter: chunhui shen
> Assignee: chunhui shen
> Attachments: HBASE-6205.patch
>
>
> User may drop table accidentally because of error code or other uncertain reasons.
> Unfortunately, it happens in our environment because one user make a mistake between production cluster and testing cluster.
> So, I just give a suggest, do we need to support an option to keep data of dropped table for some time, eg.1 day.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira