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

Anoop Sam John commented on HBASE-22380:
----------------------------------------

Seems then I misunderstood ur initial comments thinking that the user need to 
pass the clusterId.
bq.Or do you mean,  to avoid replication if same hfiles are bulkloaded again on 
original cluster?
No. I dont mean that.  
A cluster which has replicated one file already seeing the replication request 
for same again.  And this cluster is not the original cluster where the end 
user bulk loaded the file.    For the normal mutations we pass the ids of all 
clusters via which this mutation passed through in the replication flow.  So my 
ask was same is needed for hfile replication also (?) Ya I got the point that 
it is not the WAL cells being replicated. But my meaning is the RPC.  I agree 
to the point that RPC need to pass the clusterId. But my thinking is it should 
be Ids.

> break circle replication when doing bulkload
> --------------------------------------------
>
>                 Key: HBASE-22380
>                 URL: https://issues.apache.org/jira/browse/HBASE-22380
>             Project: HBase
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 3.0.0, 1.5.0, 2.2.0, 1.4.10, 2.0.5, 2.3.0, 2.1.5, 1.3.5
>            Reporter: chenxu
>            Assignee: Wellington Chevreuil
>            Priority: Critical
>              Labels: bulkload
>             Fix For: 3.0.0, 1.5.0, 2.3.0, 1.4.11, 2.1.7, 2.2.2
>
>
> when enabled master-master bulkload replication, HFiles will be replicated 
> circularly between two clusters



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to