[SERVER-72764] Error out when more than one findAndModify statements in retryable bulkWrite Created: 11/Jan/23  Updated: 29/Oct/23  Resolved: 17/Apr/23

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

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

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-05-01
Participants:

 Description   

We do not support more than one update/delete statement with limit: 1 and return: true (i.e. we only support a single "findAndModify") when running bulkWrite as a retryable write

Supporting this will require changing the primary key of the image_collection

The bulkWrite syntax should be compatible with this if we decide to support this in the future



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

Author:

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

Message: SERVER-72764: Only allow one retryabe findAndModify on bulkWrite
Branch: master
https://github.com/mongodb/mongo/commit/408cbcd9802208741d5a4d96e2b52aedd97ce50f

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