-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
Fully Compatible
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The InTel team is working on associating slow logs from the mongod with query shapes collected on the mongos using the query shape hash. However, the query shape hash may be different on the mongos and mongod for a single request as the query may be modified when the mongos sends the query to the mongod.
Let's propagate the 'original' mongos query shape hash to the mongod, including for find, distinct, and aggregate requests, and ensure that the mongos query shape hash is added as a field if there are slow logs generated from the query on the mongod. Field name could be "originalQueryShapeHash", but open to discussion.
- is depended on by
-
SERVER-115109 add originalQueryShapeHash to getMore and explain slow query logs on mongod
-
- Backlog
-
-
SERVER-115124 add originalQueryShapeHash to slow query logs when shards act like routers
-
- Backlog
-
-
SERVER-115335 add originalQueryShapeHash to query stats entries on mongod
-
- Backlog
-
- is related to
-
SERVER-107395 Add queryShapeHash to mongos slow query log lines
-
- Closed
-
- related to
-
SERVER-115641 Remove originalQueryShapeHash feature flag
-
- Blocked
-
-
SERVER-115114 Move some functions in query_settings_utils.js to a more general util file
-
- Needs Scheduling
-
-
SERVER-115580 add originalQueryShapeHash to slow query logs on mongod for updates
-
- Needs Scheduling
-