Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7158

Allow CopyTable to identify the source cluster (for replication scenarios)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.4, 0.95.0
    • None
    • None
    • Reviewed

    Description

      When I worked on HBASE-2195 I added a mechanism for an edit to identify its source cluster, so that replication would not bounce it back to the source.
      See: this.clusterId = zkHelper.getUUIDForCluster(zkHelper.getZookeeperWatcher()); in ReplicationSource, and put.setClusterId(entry.getKey().getClusterId()); in ReplicationSink.

      In master-master replication scenarios, it would very useful if CopyTable would identify the source cluster (by tagging each Put/Delete with the source clusterId before applying it).

      Attachments

        1. HBASE-7158-0.94-v1.patch
          4 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: