[SERVER-67640] Verify 'top' and $collStats work correctly for queries that are eligible for cqf Created: 29/Jun/22  Updated: 27/Oct/23  Resolved: 11/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Backlog - Query Optimization
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

We should make sure that:

  • queries created by Bonsai are visible in the 'top' command
  • queries created by Bonsai are included in the latency stats reported by the $collStats operator

There are two tests that fail in slightly different ways when queries are routed through CQF:

https://github.com/mongodb/mongo/blob/master/jstests/core/top.js
https://github.com/mongodb/mongo/blob/master/jstests/core/operation_latency_histogram.js

It could be that the failures are expected and these tests just need to be ported.


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