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

Replace Cluster#primariesOfRegionsPerServer from int array to treemap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • Balancer
    • None

    Description

      Currently, primariesOfRegionsPerServer is an int array, moveRegion does heavy work by searching the array (linearly) and insert/remove an element requires allocating/copying the whole array.

      Attachments

        Issue Links

          Activity

            People

              huaxiangsun Huaxiang Sun
              huaxiangsun Huaxiang Sun
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: