[SERVER-80838] Add structure for retrying logic in batch_write_exec Created: 07/Sep/23  Updated: 29/Oct/23  Resolved: 20/Oct/23

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

Type: Task Priority: Major - P3
Reporter: Abdul Qadeer Assignee: Abdul Qadeer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-10-16
Participants:

 Description   

The first implementation needs to go in currently executed path for updates which is in batch_write_exec. Create a new stub function where the "execute" part of updateOne WriteType happens; hook in the loop for cases where the code path should be followed. Write unit tests to make sure this structure works.



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

Author:

{'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}

Message: SERVER-73196 SERVER-80841 SERVER-80840 SERVER-80837 SERVER-80838 Add retryable broadcasts for updateOne with _id without shardkey
Branch: master
https://github.com/mongodb/mongo/commit/35053bae149cd3d2ab50afb3c6dbf2f6ed38d8c4

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