Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5047

Better chunk selection when balancing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Sharding
    • Labels:
      None

      Description

      The balancer will always move the lowest chunk on the shard, unless the highest chunk matches the lowest chunk on another shard. Without any more information about data growth, this should probably be random or a smarter choice that minimizes fragmentation.

        Attachments

        1. balance.pl
          4 kB
        2. balancer.patch
          2 kB

          Issue Links

            Activity

              People

              Votes:
              10 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated: