[
https://issues.apache.org/jira/browse/HBASE-18490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185577#comment-16185577
]
ramkrishna.s.vasudevan commented on HBASE-18490:
------------------------------------------------
[~huaxiang]
This needs to be fixed in branch-1 also as I said in previous comment.
Pls check the code from here,
https://github.com/apache/hbase/blob/branch-1/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ModifyTableProcedure.java#L392
If replica count is increased I don't think the code handles it correctly. I
prefer raising back port issues for this.
> Modifying a table descriptor to enable replicas does not create replica
> regions
> -------------------------------------------------------------------------------
>
> Key: HBASE-18490
> URL: https://issues.apache.org/jira/browse/HBASE-18490
> Project: HBase
> Issue Type: Bug
> Components: Region Assignment
> Affects Versions: 2.0.0-alpha-1
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-18490_master_1.patch, HBASE-18490_master_2.patch,
> HBASE-18490_master.patch, TestRegionReplicasWithRestartScenarios.java
>
>
> After creating a table, if we try to modify the table to enable region
> replication, the new Htable Descriptor is not taken into account and the
> table is enabled again with default single region.
> Ping [~enis], [~tedyu], [~devaraj].
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)