-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2022-11-28
For all queries:
- Verify correct aggregation of metrics across getMore() calls
- Verify metrics as described below
Types of queries:
- Aggregate
- Assert that two queries will different structures are represented by different keys
- Assert that two queries will identical structures are represented by the same key
- Find
- Verify that options such as limit/sort create different keys
Metrics:
- docsScanned - Most queries will increment this value
- keysScanned - Index scan
- optTime - make sure it's greater than zero after the first batch and does not change with subsequent getMore() calls
- execTime - should change with getMore() calls
- execCount - make sure it's one for each query and does not change with subsequent getMore() calls