[SERVER-32685] Disable lock & WiredTiger transaction yielding in read commands under readConcern level snapshot for the find and getMore commands Created: 12/Jan/18  Updated: 30/Oct/23  Resolved: 08/Feb/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.7.2

Type: Task Priority: Major - P3
Reporter: James Wahlin Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage 2018-02-12
Participants:

 Comments   
Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'tess.avitabile@mongodb.com', 'name': 'Tess Avitabile', 'username': 'tessavitabile'}

Message: SERVER-32685 Disable lock and WT transaction yielding under readConcern snapshot for find and getMore
Branch: master
https://github.com/mongodb/mongo/commit/b730e13c75d21ee86fea0622a55410d790a23224

Comment by James Wahlin [ 30/Jan/18 ]

As part of this work we will need to change getExecutorFind() use the PlanExecutor::YieldPolicy passed to it. Currently it ignores and hardcodes the policy to PlanExecutor::YIELD_AUTO. This is not a problem today as all callers pass YIELD_AUTO but will be an issue with introduction of an INTERRUPT_ONLY policy for the find command.

https://github.com/mongodb/mongo/blob/153610cb7439546ef8897a2f4eda05b7fb50af5c/src/mongo/db/query/get_executor.cpp#L646-L662

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