You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2012/08/23 20:48:42 UTC

[jira] [Updated] (HBASE-6633) Adding new hooks to the split flow - For roll backs and one final hook after split is completed either successfully or failed

     [ https://issues.apache.org/jira/browse/HBASE-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ramkrishna.s.vasudevan updated HBASE-6633:
------------------------------------------

    Attachment: HBASE-6633.patch

Patch for trunk.
Added new preSplit hook that accepts splitRow.  Also two hooks for rollback and one postCompleteSplit hook.  Pls review and provide your comments.
                
> Adding new hooks to the split flow - For roll backs and one final hook after split is completed either successfully or failed
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-6633
>                 URL: https://issues.apache.org/jira/browse/HBASE-6633
>             Project: HBase
>          Issue Type: Improvement
>          Components: coprocessors
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>              Labels: coprocessors
>         Attachments: HBASE-6633.patch
>
>
> Currently we have two hooks in the split flow of a region.  PreSplit() and postSplit().  But not always these are helpful in case i have a problem in preSplit() or postSplit() i need to do a rollback of the current region or the region that i am handling thro the hooks.
> So its better if we have a hook in the rollback code and also one final hook say postCompleteSplit() so that CP can take any corrective action.
> Pls do suggest if i can provide a patch for this.  

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