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

Defragmentation policy should issue dataSize commands with estimate true

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v6.2, v6.1, v6.0
    • Sharding EMEA 2022-12-12

    Description

      Currently, the defragmentation policy is issuing datasize commands with estimate set to false. This can make the operation very slow for large chunks. We should change this field to true.

      We also need to ensure that potential errors caused by incorrect datasize after this change are handled - for example, if the defragmentation tries to issue a move for a chunk that is too large, we should ensure the defragmenter is not continuously retrying this operation.

      Attachments

        Issue Links

          Activity

            People

              allison.easton@mongodb.com Allison Easton
              allison.easton@mongodb.com Allison Easton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: