hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Talat UYARER (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11394) Replication can have data loss if peer id contains hyphen "-"
Date Thu, 09 Oct 2014 13:39:34 GMT

     [ https://issues.apache.org/jira/browse/HBASE-11394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Talat UYARER updated HBASE-11394:
---------------------------------
    Attachment: HBASE-11394.patch

Hi [~enis],

I add a control into addPeer method of ReplicationPeersZKImpl. BTW I fixed tests in TestReplicationTrackerZKImpl
and added a Peer Name Control Test. Is this enoug for the issue ? 

> Replication can have data loss if peer id contains hyphen "-"
> -------------------------------------------------------------
>
>                 Key: HBASE-11394
>                 URL: https://issues.apache.org/jira/browse/HBASE-11394
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Talat UYARER
>              Labels: beginner
>             Fix For: 2.0.0, 0.99.1
>
>         Attachments: HBASE-11394.patch
>
>
> This is an extension to HBASE-8207. It seems that there is no check for the peer id string
(which is the short name for the replication peer) format. So in case a peer id containing
"-", it will cause data loss silently on server failure. 
> I did not verify the claim via testing though, this is just purely from reading the code.




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

Mime
View raw message