[SERVER-83629] Extend CursorResponse with new metrics Created: 28/Nov/23  Updated: 15/Dec/23  Resolved: 15/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: Mark Benvenuto Assignee: Ryan Berryhill
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-83627 Convert CursorResponse::parseFromBSON... Closed
is depended on by SERVER-83646 Extend AsyncResultsMerger to aggrega... Open
is depended on by SERVER-83641 Change CursorResponseBuilder::done to... Closed
is depended on by SERVER-83668 Store remote find cursor metrics in C... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-12-11, Service Arch 2023-12-25
Participants:

 Description   

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,
            }
 



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

Author:

{'name': 'Ryan Berryhill', 'email': 'ryan.berryhill@mongodb.com', 'username': 'ryanberryhill'}

Message: SERVER-83629 Extend CursorResponse with new metrics

GitOrigin-RevId: 06de48a54cd22363aceefe917d8553b390236cb7
Branch: master
https://github.com/mongodb/mongo/commit/b08623de2e5c0d974361c06f8189e9a345c503f9

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