[SERVER-75654] Create a server parameter for ensuring batch size in the MovePrimaryRecipient does not exceed BSONObjMaxUserSize (16MB) Created: 04/Apr/23 Updated: 29/Oct/23 Resolved: 13/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Nandini Bhartiya | Assignee: | Nandini Bhartiya |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding NYC 2023-04-17 |
| Participants: |
| Description |
|
The MovePrimaryRecipient batches the names of collections to clone and then persists it to a metadata collection. A server parameter must be created which can be used to ensure the size of the batch does not exceed BSONObjMaxUserSize (16MB). Add new unit tests to test the batching logic accordingly. |
| Comments |
| Comment by Githook User [ 07/Apr/23 ] |
|
Author: {'name': 'nandinibhartiyaMDB', 'email': '104035932+nandinibhartiyaMDB@users.noreply.github.com', 'username': 'nandinibhartiyaMDB'}Message: |