-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Overview
Slow query logs for write commands against timeseries collections omit queryShapeHash, unlike the same commands on normal collections.
Background
* insert skips query shape registration for timeseries inserts (write_ops_exec.cpp:1304, OperationSource::kTimeseriesInsert).
* update/delete skip query stats for timeseries entirely (pre-existing TODOs SERVER-119643 / SERVER-120999 in write_ops_exec.cpp).
Without queryShapeHash, timeseries write workloads cannot be correlated by query shape.
Test Re-enable
In jstests/noPassthrough/logging/log_write_command_fields.js, flip it.skip to it for the two "TIMESERIES TODO SERVER-XXXXX ... logs queryShapeHash" tests and replace SERVER-XXXXX with this ticket number.
Acceptance Criteria
* insert/update/delete against a timeseries collection log a well-formed 64-char hex queryShapeHash.
* The re-enabled tests above pass.
- is related to
-
SERVER-122926 Add jstest coverage for write command slow query logs
-
- Closed
-