[ https://issues.apache.org/jira/browse/HBASE-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096991#comment-13096991 ]
Ted Yu commented on HBASE-2195: ------------------------------- In HLogKey.readFields(): {code} + if (version < 0) { {code} I think the above check may not be safe in case of an old key which didn't use byte clusterId. If backward compatibility is not maintained as Stack indicated, version should be the first byte read in readFields(). > 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 > Attachments: 2195-v5.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