You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/09/02 01:16:54 UTC
[jira] Commented: (HBASE-2822) Enable Master-Master replication
[ 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.