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

Jumbo chunk flag isn't automatically cleared after a chunk split

    • Fully Compatible
    • ALL
    • v6.2, v6.0, v5.0, v4.4, v4.2
    • Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Regading the MongoDB documentation about jumbo chunks, MongoDB removes the jumbo flag upon successful split of the chunk. That's not the actual behaviour, though.

      The current behaviour is that after a successful split of a jumbo chunk we get 2 new jumbo chunks because new chunks are initialised as a copy of the original chunk.

      Since there is no test controlling that, the scope of this ticket should also include a test case to cover that scenario.
      You will find attached to this ticket a brand new test file to force the issue. It must be run on the sharding suite.

        1. split_jumbo_chunk.js
          3 kB
          Silvia Surroca

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None