[COMPASS-6282] Investigate changes in SERVER-68847: Include "Query Framework" information in GetMore profiler entries Created: 08/Nov/22  Updated: 28/Nov/22  Resolved: 28/Nov/22

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Anna Henningsen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-68847 Include "Query Framework" information... Closed
Documentation Changes: Not Needed

 Description   
Original Downstream Change Summary

Added the query framework as a field to profiler entries for GetMore commands.

Description of Linked Ticket

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 Anna Henningsen [ 28/Nov/22 ]

Nothing to do for devtools here.

Generated at Wed Feb 07 22:42:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.