hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11908) Region replicas should be added to the meta table at the time of table creation
Date Tue, 27 Jan 2015 05:45:36 GMT

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

Hudson commented on HBASE-11908:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #6059 (See [https://builds.apache.org/job/HBase-TRUNK/6059/])
HBASE-11908 Region replicas should be added to the meta table at the time of table creation
(enis: rev 2fb19fb95102a7d2746f32c5a5da03eaae142b8f)
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/RestoreSnapshotHandler.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStateStore.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMetaScanner.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableAccessor.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/TruncateTableHandler.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/CloneSnapshotHandler.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/CreateTableHandler.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java


> Region replicas should be added to the meta table at the time of table creation
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-11908
>                 URL: https://issues.apache.org/jira/browse/HBASE-11908
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: hbase-11908_v1.patch
>
>
> While testing async replication handling and failover handling for region replicas, we've
found that sometimes the secondary region replicas do not open and update meta quickly enough,
and hence meta would not contain any information about the region replica id. 
> If a reader caches the meta row before all region replicas are open the first time (such
as the async wal replication endpoint), then it may miss the region replica and won't know
about it until it refreshes it's cache again. 
> Instead, we should add entries to the meta for all of the region replicas at the time
of create table (just like primary regions). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message