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

HRegionInfo#compareTo should compare regionId as well

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.5, 0.92.0, 0.94.0, 0.95.2
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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-5563v2.patch
          0.6 kB
          chunhui shen
        3. HBASE-5563v2.patch
          0.6 kB
          stack
        4. hbase-5563-v3.patch
          3 kB
          Jonathan Hsieh
        5. hbase-5563-v3-0.92.patch
          3 kB
          Jonathan Hsieh
        6. hbase-5563-0.90.patch
          3 kB
          Jonathan Hsieh

          Issue Links

            Activity

              People

              • Assignee:
                zjushch chunhui shen
                Reporter:
                zjushch chunhui shen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: