[SERVER-83687] Use forceClassicEngine value from the operation context instead of canonical query Created: 28/Nov/23  Updated: 24/Jan/24  Resolved: 24/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc1

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

Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-12-25, QE 2024-01-22, QE 2024-02-05
Participants:
Story Points: 0.5

 Description   

Due to the changes in SERVER-78998, we now have a decoration on the OperationContext which has the value of the framework control knob. Given that we pretty much always have an OperationContext, we should remove forceClassicEngine from Canonical Query (https://github.com/10gen/mongo/blob/master/src/mongo/db/query/canonical_query.h#L224) and use the decoration on OperationContext.



 Comments   
Comment by Githook User [ 24/Jan/24 ]

Author:

{'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}

Message: SERVER-83687 Use forceClassicEngine value from the operation context … (#18272)

GitOrigin-RevId: 993a3945f8246677665a5e1c33934720f0d0159b
Branch: master
https://github.com/mongodb/mongo/commit/39167b154c7b1d93119b154046eeab562b1d5e6b

Comment by David Storch [ 01/Dec/23 ]

adi.agrawal@mongodb.com I'm assigning this to you to have a look, though it's low priority. If it seems simple, it's worth doing.

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