[
https://issues.apache.org/jira/browse/HBASE-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099629#comment-13099629
]
stack commented on HBASE-2195:
------------------------------
Lars you good on Ted's mod? Its this:
{code}
15:44 < tyu> a small change for removeNonReplicableEdits()
15:45 < tyu> protected void removeNonReplicableEdits(WALEdit edit) {
15:45 < tyu> NavigableMap<byte[], Integer> scopes = edit.getScopes();
15:45 < tyu> List<KeyValue> kvs = edit.getKeyValues();
15:45 < tyu> - for (int i = 0; i < edit.size(); i++) {
15:45 < tyu> + for (int i = edit.size()-1; i >= 0; i--) {
15:45 < tyu> kvs.remove(i);
15:45 < tyu> - i--;
{code}
> 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-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