hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18490) Modifying a table descriptor to enable replicas does not create replica regions
Date Wed, 02 Aug 2017 01:16:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110088#comment-16110088
] 

Enis Soztutar commented on HBASE-18490:
---------------------------------------

This is implemented in HBASE-10361, and the test {{TestMasterOperationsForRegionReplicas#testCreateTableWithMultipleReplicas()}}
have a section to increase the number of replicas. 

bq. So if the config 'hbase.region.replica.replication.enabled' is not set then ideally we
should not allow any region replica itself? Or even without this config we can create replica
regions?
Region replica replication is an "optional" feature for region replicas. Region replicas can
keep sync'ing with the primary replica using either "periodic store file refreshing", or through
region replica replication. So in theory, the region replica setup is not dependent on region
replica replication. 

> 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: 1.3.1, 1.2.6, 2.0.0-alpha-1
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: 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)

Mime
View raw message