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

Defragmentation should handle ChunkTooBig errors

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: