[
https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478248#comment-13478248
]
Gregory Chanan commented on HBASE-5525:
---------------------------------------
Looks pretty good.
Maybe truncate_preservebounds instead of truncate_preserve (so it is clear what
you are preserving)? Or make preserve a parameter to truncate, default false?
(the later would be my personal preference).
Also, you could avoid duplicating some code if you had truncate and
truncate_preserve call a common function (or just have preserve be a parameter
to truncate, as above).
> Truncate and preserve region boundaries option
> ----------------------------------------------
>
> Key: HBASE-5525
> URL: https://issues.apache.org/jira/browse/HBASE-5525
> Project: HBase
> Issue Type: New Feature
> Affects Versions: 0.96.0
> Reporter: Jean-Daniel Cryans
> Assignee: Kevin Odell
> Labels: newbie, noob
> Fix For: 0.96.0
>
> Attachments: HBASE-5525.patch
>
>
> A tool that would be useful for testing (and maybe in prod too) would be a
> truncate option to keep the current region boundaries. Right now what you
> have to do is completely kill the table and recreate it with the correct
> regions.
--
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