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

chunhui shen commented on HBASE-9489:
-------------------------------------

{code}
+    List<Mutation> metaEntries = new ArrayList<Mutation>();
+    if (rsCoprocessorHost != null) {
+      if(rsCoprocessorHost.preMergeBeforePONR(this.region_a, this.region_b,
+        metaEntries)){
+        throw new IOException("Coprocessor bypassing regions " + this.region_a 
+ " " + this.region_b
+            + " merge.");
+      }
{code}
Adding annotation for 'metaEntries ' would be readable  

> Add cp hooks in online merge before and after setting PONR
> ----------------------------------------------------------
>
>                 Key: HBASE-9489
>                 URL: https://issues.apache.org/jira/browse/HBASE-9489
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: rajeshbabu
>            Assignee: rajeshbabu
>         Attachments: HBASE-9489.patch, HBASE-9489_v2.patch
>
>
> As we need to merge index region along with user region we need the hooks 
> before and after setting PONR in region merge transtion.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to