M312 Final Exam, Question 5

Jumbo chunks can be moved manually, why is that wrong?

We cannot move jumbo chunks as is
We can only split them to smaller chunks so that they can be distributed to other shards

Hi @Mohammad_Hussein

It is possible to clear the jumbo flag from a chunk manually and with MongoDB 4.4 you can refine the shard key to make the chunk divisible. You can find more details on this docs page (https://docs.mongodb.com/manual/core/sharding-data-partitioning/#indivisible-jumbo-chunks).

Once the chunks are divisible and smaller they will then be movable to other chunks whether this is done manually or automatically via mongos.

Hope this helps in clarifying how this process works.

Eoin

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.