Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83629

Extend CursorResponse with new metrics

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2023-12-11, Service Arch 2023-12-25

      Extend CursorResponse with new IDL struct called CursorMetrics to encapsulate all the metrics a cursor response can return.

      The IDL struct should have the following fields:

                  "metrics" : { // New Document in Cursor Response
                      "keysExamined" : Int64,
                      "docsExamined" : Int64,
                      "hasSortStage" : Boolean,
                      "usedDisk" : Boolean,
                      "fromMultiPlanner" : Boolean,
                      "fromPlanCache" : Boolean,
                  }
       

            Assignee:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: