Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3215

Investigate changes in SERVER-68847: Include "Query Framework" information in GetMore profiler entries

    XMLWordPrintableJSON

Details

    • Investigation
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • None
    • None
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              backlog-server-pm Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: