[SERVER-41461] waitWithPinnedCursorDuringGetMoreBatch fail point should save and restore the PlanExecutor state before reacquiring the read lock Created: 03/Jun/19  Updated: 29/Oct/23  Resolved: 05/Jun/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.0-rc1, 4.3.1

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:
Backports
Depends
Related
is related to SERVER-41311 Invariant that restore() is called on... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Execution Team 2019-06-03, Execution Team 2019-06-17
Participants:
Linked BF Score: 8

 Description   

In BF-13207, the waitWithPinnedCursorDuringGetMoreBatch fail point is used to reacquire the read lock between batches. However, the cursor used for these batches is not saved and restored while reacquiring the lock resulting in unexpected behaviour.



 Comments   
Comment by Githook User [ 05/Jun/19 ]

Author:

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

Message: SERVER-41461 waitWithPinnedCursorDuringGetMoreBatch fail point should save and restore the PlanExecutor state before reacquiring the read lock
Branch: v4.2
https://github.com/mongodb/mongo/commit/3215041d3b4c60203fe6e734d6ba204f1f9d1b9b

Comment by Githook User [ 05/Jun/19 ]

Author:

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

Message: SERVER-41461 waitWithPinnedCursorDuringGetMoreBatch fail point should save and restore the PlanExecutor state before reacquiring the read lock
Branch: master
https://github.com/mongodb/mongo/commit/43b787e5b5636dbfcd0332be8e96feb32992c00b

Generated at Thu Feb 08 04:57:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.