[SERVER-72990] Support bulkWrite running in multi-statement transactions Created: 18/Jan/23  Updated: 13/Apr/23  Resolved: 13/Apr/23

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

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Duplicate Votes: 0
Labels: milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Sprint: Repl 2023-04-17
Participants:

 Description   

Nothing novel needs to be done here either. Any transaction related states should be set up at the layer above the command invocation on both mongos and mongod. We just need to immediately abort the client transaction once one or more operations fail in a bulkWrite command. Here are the examples of mongod and mongos implicitly aborting transactions upon seeing the first error for existing batched writes.

Note that on mongod we currently handle this already by calling handleError



 Comments   
Comment by Sean Zimmerman [ 13/Apr/23 ]

Done under SERVER-72988

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