You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2012/08/22 17:57:42 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13439626#comment-13439626 ] 

Andrew Purtell commented on HBASE-6633:
---------------------------------------

bq. Pls do suggest if i can provide a patch for this. 

Sounds good to me. Thanks Ram. Please keep but deprecate postSplit. 
                
> 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
>
> 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