-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: sh
Summary:
Enable a customer to shard a collection and then immediately after the completion of the sharding of the collection reshard the collection to the same shard key via a shell helper.
Motivation:
One of the chief complaints is that data distribution in a sharded cluster is too slow. The improved version of resharding released in MongoDB 7.2 is at least an order of magnitude faster than the default data distribution method of range migration and the original version of resharding (5.0 - 7.1).
With the version of resharding available in MongoDB 7.2 customers can reshard to the same shard key with the forceRedistribution option enabling them to use resharding as the primary means to conduct large data movement such as after adding or removing a shard in the cluster.
A shell helper executing the shard then reshard sequence provides a convenient one stop command for customers to leverage resharding to initially distribute their collection and have a better experience.
- is duplicated by
-
SERVER-81207 Extend Shard Collection to Execute Resharding Immediately after Shard Collection Finishes
- Closed