[SERVER-72788] Construct sub-batching bulkWrite command to send to shard Created: 12/Jan/23  Updated: 29/Oct/23  Resolved: 17/Mar/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: Lingzhi Deng Assignee: Vishnu Kaushik
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-72637 Implement the skeleton of BulkWriteEx... Closed
is depended on by SERVER-72789 Validate the database/shard versions ... Closed
is depended on by SERVER-72792 Implement progress bookkeeping for in... Closed
is depended on by SERVER-72794 Implement cursor response for bulkWri... Closed
is depended on by SERVER-72984 Send sub-bulkWrite batches to targete... Closed
Related
is related to SERVER-72989 Retryable bulkWrite on mongos Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-02-20, Repl 2023-03-06, Repl 2023-03-20
Participants:

 Description   

When constructing the bulkWrite command for each shard endpoint out of a TargetedWriteBatch, we will need to calculate the namespaces used in this sub-batch to construct the nsInfo and re-index each operation's namespace index (ns_idx). Additionally, we need to attach the databaseVersion and shardVersion fields to each entry in the nsInfo based on the endpoint returned by the CollectionRoutingInfoTargeter in the targeting step.



 Comments   
Comment by Githook User [ 17/Mar/23 ]

Author:

{'name': 'kauboy26', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-72788 Construct sub-batching bulkWrite command to send to shards.
Branch: master
https://github.com/mongodb/mongo/commit/93dc9da23eed52ee0e71869b634cca2be36a67e7

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