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

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

{code}
+                    splitKey =
+                            KeyValue.createFirstOnRow(
+                                region.getStartKey().length == 0 ? new 
byte[region.getEndKey().length] : region
+                                        .getStartKey()).getKey();
{code}
Am not sure I understand this.(lack of merge code knowledge).  The reference 
files that the merge creates will always have the first region start key as its 
split key right?

> 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