-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2021-10-18
Slow query log for $search queries and getMores includes this section today:
“mongot”: { “cursorid”: 22318, “timeWaitingMillis”: 36365 }
I suggest we include the number of getMores calls to mongot performed. For long running queries with a blocking stage such as $group and $sort, this will be very useful for debugging purposes.
This will be incredibly important if we ever pushdown $limit to mongot, and when mongot will be returning variable batch sizes.