You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/07/07 23:54:51 UTC

[jira] Updated: (HBASE-2822) Enable Master-Master replication

     [ https://issues.apache.org/jira/browse/HBASE-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-2822:
--------------------------------------

    Fix Version/s: 0.21.0
      Description: 
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.

> 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.21.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.