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

ramkrishna.s.vasudevan commented on PHOENIX-1059:
-------------------------------------------------

{code}
if (Bytes.compareTo(mergedRegions.getFirst().getStartKey(), splitRow) == 0) {
+                        return reader;
+                    } else {
+                        childRegion = mergedRegions.getSecond();
+                        parentRegion = childRegion;
+                    }
{code}

You are storing the same value for childRegion and parentRegion? 

> Support index regions merge on their corresponding data regions merge
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-1059
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1059
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: rajeshbabu
>            Assignee: Rajeshbabu Chintaguntla
>         Attachments: PHOENIX-1059.patch
>
>
> When data regions merge corresponding index regions with the same start keys 
> also should merge. Check how we can replace the start key in the second 
> region data with first region start key.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to