[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: SERVER-75654: Add new server parameter for batched inserts.
Branch: master
https://github.com/mongodb/mongo/commit/ab890282dd8d7be38037615afb3dbe2c4acba9a0

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