HBase
  1. HBase
  2. HBASE-5563

HRegionInfo#compareTo should compare regionId as well

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. hbase-5563-v3-0.92.patch
        3 kB
        Jonathan Hsieh
      2. hbase-5563-v3.patch
        3 kB
        Jonathan Hsieh
      3. HBASE-5563v2.patch
        0.6 kB
        chunhui shen
      4. HBASE-5563v2.patch
        0.6 kB
        stack
      5. hbase-5563-0.90.patch
        3 kB
        Jonathan Hsieh
      6. HBASE-5563.patch
        0.6 kB
        chunhui shen

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development