[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: |
|
||||||||
| 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 |