Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20360 Further optimization for serial replication
  3. HBASE-20481

Replicate entries from same region serially in ReplicationEndpoint for serial replication

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.1.0
    • None
    • None
    • Reviewed

    Description

      When debugging HBASE-20475, openinx found that the HBaseInterClusterReplicationEndpoint may send the entries for the same regions concurrently, which breaks the serial replication.

      As long as we can have multiple ReplicationEndpoint implementation, just fix HBaseInterClusterReplicationEndpoint is not enough, we need to add a setSerial method to ReplicationEndpoint, to tell the implementation that you should keep the order of the entries from the same region.

      Attachments

        1. HBASE-20481.v4.patch
          48 kB
          Zheng Hu
        2. HBASE-20481.v3.patch
          48 kB
          Zheng Hu
        3. HBASE-20481.v3.patch
          48 kB
          Zheng Hu
        4. HBASE-20481.v2.patch
          27 kB
          Zheng Hu
        5. HBASE-20481.v1.patch
          31 kB
          Zheng Hu

        Issue Links

          Activity

            People

              openinx Zheng Hu
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: