[SERVER-82573] Integrate QuerySettings into ExpressionContext Created: 30/Oct/23  Updated: 02/Nov/23  Resolved: 02/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Denis Grebennicov Assignee: Denis Grebennicov
Resolution: Fixed Votes: 0
Labels: M1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-77080 Introduce query settings into explain... Closed
is related to SERVER-79181 Apply QuerySettings for find commands Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-11-13
Participants:

 Description   

As part of SERVER-79181 we integrated QuerySettings into CanonicalQuery.

After having a conversation with david.storch@mongodb.com, we agreed that:

  • ExpressionContext is a better place for it
  • When running $lookup a sub-pipeline can be created and executed, however, at this moment, we can not access QuerySettings, as $lookup and similar stages do not have reference to CanonicalQuery

Goal for this ticket would be to remove QuerySettings from CanonicalQuery and move it into ExpressionContext.



 Comments   
Comment by Githook User [ 02/Nov/23 ]

Author:

{'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}

Message: SERVER-82573 Integrate QuerySettings into ExpressionContext
Branch: master
https://github.com/mongodb/mongo/commit/94efa0ee7882831a8450d0c15f7b4b411b8cdda6

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