Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
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:
public void startReplicationServices() throws IOException { if (this.replication) { if (this.replicationMaster) { this.replicationManager.init(); } else { this.replicationSink = new ReplicationSink(this.conf, this.stopRequested); } } }
Enable and test.