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

HRegionInfo#compareTo should compare regionId as well

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.5, 0.92.0, 0.94.0, 0.95.2
    • 0.94.0, 0.95.0
    • None
    • None
    • Reviewed

    Description

      In the one region multi assigned case, we could find that two regions have the same table name, same startKey, same endKey, and different regionId, so these two regions are same in TreeMap but different in HashMap.

      Attachments

        1. HBASE-5563.patch
          0.6 kB
          Chunhui Shen
        2. hbase-5563-0.90.patch
          3 kB
          Jonathan Hsieh
        3. HBASE-5563v2.patch
          0.6 kB
          Michael Stack
        4. HBASE-5563v2.patch
          0.6 kB
          Chunhui Shen
        5. hbase-5563-v3.patch
          3 kB
          Jonathan Hsieh
        6. hbase-5563-v3-0.92.patch
          3 kB
          Jonathan Hsieh

        Issue Links

          Activity

            People

              zjushch Chunhui Shen
              zjushch Chunhui Shen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: