[SERVER-80818] Change yield policy to INTERRUPT_ONLY for time-series inserts Created: 06/Sep/23  Updated: 29/Oct/23  Resolved: 07/Sep/23

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

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
causes SERVER-81993 Retry time-series updates on Temporar... Closed
Related
is related to SERVER-80358 Time-series inserts generate duplicat... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution NAMR Team 2023-09-18
Participants:
Linked BF Score: 136

 Description   

We should disable auto yielding in the plan executor in order to prevent retrying on WriteConflictExceptions internally. A WriteConflictException can be thrown in order to abort a WriteBatch in an attempt to retry the operation, so we need it to escape the plan executor layer.



 Comments   
Comment by Githook User [ 07/Sep/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-80818 Change yield policy to INTERRUPT_ONLY for time-series inserts
Branch: master
https://github.com/mongodb/mongo/commit/5a44680e1455d2996e0514eb8b933479d5db20aa

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