-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Cluster Scalability
Resharding a collection that is only located on one shard and has one chunk and is being resharded to only that shard (meaning the only shard it currently exists on) should be efficient as no data movement is required. We only have to do index creation (if the new shard key is not _id) and the metadata change commit.
This will also be an optimization for unsharding a collection that only exists on one shard already as well.