-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
QE 2024-05-27
-
200
In v7.0 branch
https://github.com/mongodb/mongo/blob/48cc91ab2b24c065ce6ff5e4760673e3ed1d0028/src/mongo/db/exec/delete_stage.cpp#L332
This line should be
return restoreStateRet;
instead of
return ret;
We don’t correctly pass NEED_YIELD in that case in DeleteStage and it causes mongod to crash.
In 7.1+ it was fixed indirectly by SERVER-80859, but changes in this ticket are connected to at least 2 other tickets: SERVER-82361 and SERVER-78470, so in this ticket we commit one-line fix directly to v7.0 branch.
v6.0 itself is not affected, as it explicitly passes NEED_YIELD on WriteConflictException.
- fixes
-
SERVER-71674 Yield handlers not handling WCE thrown from restoring cursors
- Closed