[
https://issues.apache.org/jira/browse/HBASE-18490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ramkrishna.s.vasudevan updated HBASE-18490:
-------------------------------------------
Attachment: HBASE-18490_master_2.patch
Updated patch as in RB. Now the caller of addReplica() API will do a +1 while
passing the oldreplicaCount because replica Ids that is needed for HRegionInfo
starts with 0.
[~easyliangjob]'s comment of renaming the PB enum constant is not yet done. If
it is really needed to be done I can do it. Thanks.
> 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, 2.0.0-alpha-4
>
> 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)