[SERVER-82183] Refactor CanonicalQuery to use designated initializers Created: 13/Oct/23  Updated: 26/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: Improvement Priority: Major - P3
Reporter: Denis Grebennicov Assignee: Denis Grebennicov
Resolution: Fixed Votes: 0
Labels: M1, auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-77080 Introduce query settings into explain... Closed
Problem/Incident
Related
is related to SERVER-82109 Refactor ExpressionContext to use des... Open
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-10-30, QE 2023-11-13
Participants:
Linked BF Score: 156

 Description   

In SERVER-79181 we add QuerySettings to CanonicalQuery.

As part of SERVER-77080 we will need to integrate QuerySettings with CanonicalQuery in cases of aggregate commands.

Due to complications and overall tech-debt, CanonicalQuery will be refactored to follow the C++ "builder"-like pattern using the designated initializers



 Comments   
Comment by Githook User [ 31/Oct/23 ]

Author:

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

Message: SERVER-82183 Refactor CanonicalQuery to use designated initializers
Branch: master
https://github.com/mongodb/mongo/commit/678b0a429b38701876932d09b895b773b2a4e169

Comment by Githook User [ 31/Oct/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-82183 Refactor CanonicalQuery to use designated initializers"

This reverts commit f21b913659fe33a0fa13552684fd9bcf4e160fdd.
Branch: master
https://github.com/mongodb/mongo/commit/a15b3034736fc9f6509739714c34216f3c14ae4f

Comment by Githook User [ 31/Oct/23 ]

Author:

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

Message: SERVER-82183 Refactor CanonicalQuery to use designated initializers
Branch: master
https://github.com/mongodb/mongo/commit/f21b913659fe33a0fa13552684fd9bcf4e160fdd

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