[SERVER-82478] Avoid MatchExpression tree copy in QueryPlanner::plan Created: 26/Oct/23  Updated: 08/Jan/24  Resolved: 08/Jan/24

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

Type: Improvement Priority: Major - P3
Reporter: Matt Boros Assignee: Matt Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2023-10-30, QE 2023-11-13, QE 2023-11-27, QE 2023-12-11, QE 2023-12-25, QE 2024-01-08, QE 2024-01-22
Participants:

 Description   

We clone the MatchExpression tree that the PlanEnumerator gives us in QueryPlanner::plan, but this has no effect. It's possible this was needed before some refactor, but now it's unnecessary.



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

Author:

{'name': 'Matthew Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}

Message: SERVER-82478 Avoid MatchExpression tree copy in QueryPlanner::plan
Branch: master
https://github.com/mongodb/mongo/commit/fd9b9ac6ba95d6b02a8c57b6043f2713777d93ed

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