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

Defragmentation policy should issue dataSize commands with estimate true

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

      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.

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

              Created:
              Updated:
              Resolved: