hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12136) Race condition between client adding tableCF replication znode and server triggering TableCFsTracker
Date Wed, 01 Oct 2014 17:26:33 GMT

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

Ted Yu commented on HBASE-12136:
--------------------------------

Virag:
Can you provide patch for 0.98 ?
I got:
{code}
|--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerZKImpl.java
|+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerZKImpl.java
--------------------------
File to patch:
{code}

> Race condition between client adding tableCF replication znode and  server triggering
TableCFsTracker
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12136
>                 URL: https://issues.apache.org/jira/browse/HBASE-12136
>             Project: HBase
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 0.98.6
>            Reporter: Virag Kothari
>            Assignee: Virag Kothari
>             Fix For: 2.0.0, 0.98.7, 0.99.1
>
>         Attachments: HBASE-12136.patch
>
>
> In ReplicationPeersZKImpl.addPeer(), there is a race between client creating tableCf
znode and the server triggering  TableCFsTracker. If the server wins, it wont be able to read
the data set on tableCF znode and  replication will be misconfigured 



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

Mime
View raw message