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

Report progress of collection defragmentation through balancerCollectionStatus command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-01-24, Sharding EMEA 2022-02-07

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: