Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: None
    • Labels:
      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.

        Activity

        Jean-Daniel Cryans made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]
        Jean-Daniel Cryans made changes -
        Fix Version/s 0.92.0 [ 12314223 ]
        Fix Version/s 0.90.0 [ 12313607 ]
        Jean-Daniel Cryans made changes -
        Field Original Value New Value
        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.
        Fix Version/s 0.21.0 [ 12313607 ]
        Jean-Daniel Cryans created issue -

          People

          • Assignee:
            Jean-Daniel Cryans
            Reporter:
            Jean-Daniel Cryans
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development