[SERVER-68847] Include "Query Framework" information in GetMore profiler entries Created: 15/Aug/22  Updated: 29/Oct/23  Resolved: 08/Nov/22

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

Type: New Feature Priority: Major - P3
Reporter: Ben Shteinfeld Assignee: Ben Shteinfeld
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-6282 Investigate changes in SERVER-68847: ... Closed
is depended on by TOOLS-3215 Investigate changes in SERVER-68847: ... Closed
Documented
is documented by DOCS-15727 [Server] Investigate changes in SERVE... Closed
Related
related to SERVER-68803 Add whether SBE is in use to currentO... Closed
is related to SERVER-71172 Expose hybrid plans in profiler, slow... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-10-31, QO 2022-11-14
Participants:

 Description   

Currently the profiler includes the `queryExecutionEngine` field (SERVER-62760 will rename this field to `queryFramework`) in its log entries. This information is not attached to subsequent GetMore commands executed on the same cursor. This is because we attach the query framework (classic, sbe, or cqf) information to the CurOp object in OpCtx, where GetMore commands have their own OpCtx.

 

Perhaps this information is already available in the ClientCursor which holds a reference to the original command's opCtx. Another potential way to implement this functionality would be to define a virtual function to PlanExecutor which returns the queryFramework.



 Comments   
Comment by Githook User [ 08/Nov/22 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-68847 Include query framework information in GetMore profiler entries
Branch: master
https://github.com/mongodb/mongo/commit/bae712c9891ad30c4fa9e1413efa4b3f3aa5c828

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