[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: |
|
||||||||||||||||||||||||||||||||
| 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: |