[SERVER-72047] Support basic insert operations in bulkWrite on mongod Created: 12/Dec/22  Updated: 29/Oct/23  Resolved: 12/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Sean Zimmerman
Resolution: Fixed Votes: 0
Labels: milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-72767 Support timeseries inserts in bulkWri... Closed
is depended on by SERVER-72769 Support batched insert-only bulkWrite... Closed
is depended on by SERVER-72771 Support ordered: false in bulkWrite o... Closed
is depended on by SERVER-73531 Add combined testing for insert + upd... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-01-09, Repl 2023-01-23
Participants:

 Description   

This ticket should focus on building up the skeleton for the bulkWrite execution flow on mongod rather than focusing on having a special implementation for inserts. We should try to make the implementation compatible with updates/deletes that we will add in the future. But this ticket should make basic (ordered) insert operations work without internal batching.



 Comments   
Comment by Githook User [ 12/Jan/23 ]

Author:

{'name': 'seanzimm', 'email': 'sean.zimmerman@mongodb.com', 'username': 'seanzimm'}

Message: SERVER-72047: Make BulkWrite command perform inserts on mongod
Branch: master
https://github.com/mongodb/mongo/commit/eb3d86fbd2bf5c3e3c128b59bcb68bafde5200de

Comment by Lingzhi Deng [ 11/Jan/23 ]

The PR implements the internal batching which is actually easier to do as we can reuse existing helper functions like write_ops_exec::insertBatchAndHandleErrors.

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