[SERVER-72787] Implement sub-batching logic for bulkWrite on mongos Created: 12/Jan/23  Updated: 29/Oct/23  Resolved: 10/Feb/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: Lingzhi Deng
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-72982 Handle targeting errors for bulkWrite... Closed
is depended on by SERVER-73536 Account for the size of the outgoing ... Closed
is depended on by SERVER-74094 Support multiple namespaces in bulkWr... Closed
is depended on by SERVER-74095 Support multiple namespaces in bulkWr... Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-02-06, Repl 2023-02-20
Participants:

 Description   

Target ops with the appropriate targeter based on the namespace index and re-batch ops based on their targeted shard id

  • For ordered: false, each of ops is targeted and they are grouped into a batch (i.e. to form a new bulkWrite command) based on their targeted shard endpoint
  • For ordered: true, we will batch consecutive ops that target the same shard id when possible or execute one write op at a time to respect the ordering

 



 Comments   
Comment by Githook User [ 10/Feb/23 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-72787: Implement sub-batching logic for bulkWrite
Branch: master
https://github.com/mongodb/mongo/commit/188549516c293b65c2c3cba5ae05a573b2eab460

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