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