You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2018/07/09 15:07:00 UTC

[jira] [Commented] (HBASE-20861) WAL entries should be replicated which are updated after peer addition

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

Ashish Singhi commented on HBASE-20861:
---------------------------------------

See HBASE-9888

> WAL entries should be replicated which are updated after peer addition
> ----------------------------------------------------------------------
>
>                 Key: HBASE-20861
>                 URL: https://issues.apache.org/jira/browse/HBASE-20861
>             Project: HBase
>          Issue Type: Bug
>          Components: Replication
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>            Priority: Major
>
> Steps to reproduce:
> 1. Add a peer
> 2. Enable a table replication
> 3. Put data
> 4. remove peer
> 5. Truncate the table in both the cluster
> 6. Add peer
> Observation:
> Here the old data is getting replicated in the table in peer cluster.
> HBase replication by design upon peer addition always starts replication from begining of WAL file, so all replicable wal entries get replicated irrespective of peer addition time.
> This can be handled by skipping WAL entries which is having create time before peer addition time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)