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

Defragmentation should handle ChunkTooBig errors

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

      Currently, the defragmentation policy is sending moveChunk commands with forceJumbo set to true. This is in the case that our datasize calculation is incorrect and the chunk we decide to move is very large. However, we don't actually want to move huge chunks for defragmentation, as we are trying to move small chunks only.

      Instead of sending the request with forceJumbo set to true, we should handle the ChunkTooBig and ExceededMemoryLimit errors to not retry these migrations.

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

              Created:
              Updated:
              Resolved: