[SERVER-83646]  Extend AsyncResultsMerger to aggregate metrics Created: 28/Nov/23  Updated: 05/Feb/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Ryan Berryhill
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-83629 Extend CursorResponse with new metrics Closed
Assigned Teams:
Service Arch
Sprint: Service Arch 2024-02-05, Service Arch 2024-02-19
Participants:

 Description   

Parse the cursor responses and aggregate the metrics from them in AsyncResultsMerger.

Change AsyncResultsMerger::_addBatchToBuffer and storePossibleCursors to store parsed cursor metrics in CurOp::ObDebug. After calls to CursorResponse::parseFromBSONMany/parseFromBSONMany, the metrics should be aggregated into CurOp::Debug.

Extend src/mongo/s/query/async_results_merger_test.cpp for AsyncResultsMerger changes


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