[SERVER-83340] [CQF] Add planSummary to queryPlanner output for CQF Created: 16/Nov/23  Updated: 08/Dec/23  Resolved: 08/Dec/23

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

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

Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-11-27, QO 2023-12-11
Participants:

 Description   

This ticket is to add a planSummary field under the winningPlan field in CQF explains (both fast-path plans and non-fast-path plans). This field has the same meaning as the planSummary field in currOp, slow query logs, etc.

(This will always be "COLLSCAN" or "EOF" for M2 of CQF)



 Comments   
Comment by Githook User [ 08/Dec/23 ]

Author:

{'name': 'Hana Pearlman', 'email': 'hana.pearlman@mongodb.com', 'username': 'HanaPearlman'}

Message: SERVER-83340: Add a planSummary field to the winningPlan explain output for CQF

GitOrigin-RevId: 0d3f30aeef5ae2555fe153ff5cb9c56d53a83067
Branch: master
https://github.com/mongodb/mongo/commit/b4ff3b7196c466ab75e52bfe5fd3a81b09d3f6f0

Comment by Hana Pearlman [ 01/Dec/23 ]

Discussed in 6WR that we would actually like to make this change for all explain versions, meaning winning plans from the classic optimizer will also have a new planSummary field. Assuming we do that work in this ticket, we will include downstream changes when closing the ticket.

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