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

ramkrishna.s.vasudevan commented on HBASE-6633:
-----------------------------------------------

So you think its better to add the left and right daughter regions to the 
postcompletesplit?

> 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
>             Fix For: 0.95.0
>
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to