hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2822) Enable Master-Master replication
Date Wed, 01 Sep 2010 23:16:54 GMT

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

stack commented on HBASE-2822:
------------------------------

This going to be done for 0.90?  If not, can we move it out?

> Enable Master-Master replication
> --------------------------------
>
>                 Key: HBASE-2822
>                 URL: https://issues.apache.org/jira/browse/HBASE-2822
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.0
>
>
> There's nothing inherently wrong in the replication design that prevents master-master,
but it was disabled in the code in order to reduce the scope of HBASE-2223. Specifically,
this code from Replication just needs a simple 2 lines modification to always instantiate
ReplicationSink if this.replication is true:
> {code}
>   public void startReplicationServices() throws IOException {
>     if (this.replication) {
>       if (this.replicationMaster) {
>         this.replicationManager.init();
>       } else {
>         this.replicationSink =
>             new ReplicationSink(this.conf, this.stopRequested);
>       }
>     }
>   }
> {code}
> Enable and test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message