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

Lars Hofhansl commented on HBASE-2195:
--------------------------------------

The entries in a log file can have different versions. The class is either 
(implicit) version 0 in 0.90.x or version -1 0.92. It should not be a member 
variable.

We have the class version so that we can decide how to tag the write side of 
thing and then decide at read time how to behave. Every versioned class has a 
static version (or a final that is never set by a constructor which amount to 
the same behavior).

Let's please settle on v11 of the patch.
We can have a general discussion about versioning outside of this patch.

(If anything it shows that everything that is written to a file needs to be 
versioned from the beginning).


> 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