[ https://issues.apache.org/jira/browse/HBASE-20741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16590088#comment-16590088 ]
ramkrishna.s.vasudevan commented on HBASE-20741: ------------------------------------------------ Thanks all for the comments. I missed them. [~huaxiang] - your suggestion makes sense. Seeing the latest trunk code. I plan to make this patch better by calling the roundRobinAssignment of LB but removing the parent region's target server. Doing that will ensure that the round robin works correctly and also it is handled by the LB. > Split of a region with replicas creates all daughter regions and its replica > in same server > ------------------------------------------------------------------------------------------- > > Key: HBASE-20741 > URL: https://issues.apache.org/jira/browse/HBASE-20741 > Project: HBase > Issue Type: Bug > Components: read replicas > Affects Versions: 2.0.0 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Priority: Major > Fix For: 2.2.0 > > Attachments: HBASE-20741.patch > > > Generally it is better that the parent region when split creates the daughter > region in the same target server. > But for replicas also we do the same and all the replica regions are created > in the same target server. We should ideally be doing a round robin and only > the primary daughter region should be opened in the intended target server > (where the parent was previously opened). > [~huaxiang] FYI. -- This message was sent by Atlassian JIRA (v7.6.3#76005)