[
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.patch
Patch for master.
It handles cases where a table is disabled and enabled back by modifying the
table descriptor to specify region replicas. It handles cases where region
replicas is changed from 0 to n and from x to y where( x > y).
The case where x < y - the code already handles the META cases but the region
assignment on enabling the table is still there. The test case that handles the
x < y case is currently marked with @Ignore tag and we need to fix it. Am not
very sure if we can call unassign procedure from the enableTableHandler and I
think the same issue is there even in branch-1.3.
> 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
> Attachments: 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)