Uploaded image for project: 'Apache Helix'
  1. Apache Helix
  2. HELIX-151

Auto rebalance doesn't assign some replicas when other nodes could make room

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.6.2-incubating
    • helix-core
    • None

    Description

      The current auto-rebalancer tries to evenly distribute replicas across nodes by dividing the number of replicas by number of nodes, and then assigning the floor as a capacity to some nodes and the ceiling as a capacity to other nodes. Right now, nodes 0..k are assigned the ceiling and k+1..n are assigned the floor. Given existing assignments, an orphaned partition could be assigned to a node in the second set if that node had an extra slot, and there's at least one node in the first set with available capacity, then the latter node should be able to "donate" a unit of capacity to the former node.

      Attachments

        Activity

          People

            kanak Kanak Biscuitwala
            kanak Kanak Biscuitwala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment