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

Ted Yu commented on HBASE-2195:
-------------------------------

The special handling in readFields() already makes HLogKey deviate from a 
single class version. Meaning when this.clusterId carries 
HConstants.DEFAULT_CLUSTER_ID, there is a chance that the HLogKey wasn't 
generated in local cluster.
I think that's why we call it DEFAULT_CLUSTER_ID instead of LOCAL_CLUSTER_ID.

We can create our own VersionedWritable interface (maybe with a different name) 
which HLogKey can implement.

> Support cyclic replication
> --------------------------
>
>                 Key: HBASE-2195
>                 URL: https://issues.apache.org/jira/browse/HBASE-2195
>             Project: HBase
>          Issue Type: Sub-task
>          Components: replication
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>         Attachments: 2195-v10.txt, 2195-v12.txt, 2195-v13.txt, 2195-v14.txt, 
> 2195-v5.txt, 2195-v6.txt, 2195.txt
>
>
> We need to support cyclic replication by using the cluster id of each HlogKey 
> and stop replicating when it goes back to the original cluster.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to