Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20046 Reconsider the implementation for serial replication
  3. HBASE-20147

Serial replication will be stuck if we create a table with serial replication but add it to a peer after there are region moves

    XMLWordPrintableJSON

Details

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

    Description

      The start point for serial replication is that, if we are in the first range then we are safe to push. And we will record replication barrier when the replication scope is set to SERIAL even if the table is not contained in any peers. So it could happen that, we record several barriers in the meta already and then we add a peer which contains this table. So when replicating, we will find that we are not in the first range, and then the replication will be stuck.

      Attachments

        1. HBASE-20147-v8.patch
          64 kB
          Duo Zhang
        2. HBASE-20147-v7.patch
          64 kB
          Duo Zhang
        3. HBASE-20147-v6.patch
          64 kB
          Duo Zhang
        4. HBASE-20147-v5.patch
          64 kB
          Duo Zhang
        5. HBASE-20147-v4.patch
          67 kB
          Duo Zhang
        6. HBASE-20147-v3.patch
          54 kB
          Duo Zhang
        7. HBASE-20147-v2.patch
          45 kB
          Duo Zhang
        8. HBASE-20147-v1.patch
          45 kB
          Duo Zhang
        9. HBASE-20147.patch
          40 kB
          Duo Zhang
        10. HBASE-20147.patch
          40 kB
          Duo Zhang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: