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

Report progress of collection defragmentation through balancerCollectionStatus command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-01-24, Sharding EMEA 2022-02-07

      The new command created in SERVER-58270 can put the collection in a “defragmentation” mode whereby the balancer will merge and move chunks around in order to yield a number of chunks approximately equal to the TotalDataSize/DefaultChunkSize evenly distributed across the appropriate shards.

      The defragmentation is a one-time operation (which potentially may take a long time) and after that the collection will leave the “defragmentation” mode.

       

      Its progress will be able to be monitored from the return of the balancerCollectionStatus command.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            simon.gratzer@mongodb.com Simon Gratzer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: