[SERVER-76616] Pass through and implement forceRedistribution parameter for resharding Created: 27/Apr/23  Updated: 29/Oct/23  Resolved: 23/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Matthew Russotto Assignee: Jiawei Yang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-05-29
Participants:

 Description   

This is to create the forceRedistribution parameter for resharding in mongos and pass it through to the shard server and config server, and have it skip the test for same shard key if it does.

This should also include a jstest to make sure the resharding does happen when forceRedistribution is set and the same shard key is used.



 Comments   
Comment by Githook User [ 23/May/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-76616 add forceRedistribution parameter to reshardCollection
Branch: master
https://github.com/mongodb/mongo/commit/f1375760f4ae896a050eac79a9f7cd61209b14a9

Generated at Thu Feb 08 06:33:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.