[
https://issues.apache.org/jira/browse/HBASE-10361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898647#comment-13898647
]
Enis Soztutar commented on HBASE-10361:
---------------------------------------
bq. // update meta if needed (TODO: make this work when table is online)
Will this come in this patch? If not we can create an issue for tracking this,
and check and throw an exception if the table is not offline when region
replication is changed.
inside removeReplicaColumnsIfNeeded(), we remove the regions if new replication
count is lower from meta. We want to encapsulate the meta operations in
MetaReader / MetaEditor so that outsiders won't even know how the replicas are
stored. Can we change this to call MetaEditor.deleteRegion() for the region
replicas that should be removed from meta inside MetaEditor, and change
MetaEditor to recognize the replica and do the action accordingly.
ModifyTableHandler also does not create new regions when region replication is
bumped. Is this because EnableTableHandler would create those anyway? In case
of online schema change, we can address this later I guess.
> Enable/AlterTable support for region replicas
> ---------------------------------------------
>
> Key: HBASE-10361
> URL: https://issues.apache.org/jira/browse/HBASE-10361
> Project: HBase
> Issue Type: Sub-task
> Components: master
> Reporter: Enis Soztutar
> Assignee: Devaraj Das
> Fix For: 0.99.0
>
> Attachments: 10361-1.txt
>
>
> Add support for region replicas in master operations enable table and modify
> table.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)