You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/01/08 01:40:13 UTC

[jira] [Commented] (HBASE-7501) Introduce MetaEditor method that both adds and deletes rows in .META. table

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

Enis Soztutar commented on HBASE-7501:
--------------------------------------

bq. The Delete and Put would be grouped and then written to .META. table in one transaction.
To clarify, it is not one transaction, but one batch RPC right? 
                
> Introduce MetaEditor method that both adds and deletes rows in .META. table
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-7501
>                 URL: https://issues.apache.org/jira/browse/HBASE-7501
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> In review of HBASE-7365, MetaEditor.deleteRegions() and MetaEditor.addRegionsToMeta() are used in RestoreSnapshotHandler.java.handleTableOperation() to apply changes to .META.
> I made following suggestion:
> Can we introduce new method in MetaEditor which takes List of Mutation's ?
> The Delete and Put would be grouped and then written to .META. table in one transaction.
> Jon responded:
> I like that idea -- then the todo/warning or follow on could refer to that method.  When we fix it, it could get used in other multi row meta modifications like splits and table creation/deletion in general.
> See https://reviews.apache.org/r/8674/

--
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