-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Background
There is a chance that a batched update command is rerouted to a primary shard, which will behave like a mongos as it invokes cluster::write() as well. In this case, the primary shard is required to include the metrics in the response (otherwise, the metrics will be lost between the primary shard and mongos). Currently, the response generation ignores the queryStatsMetrics.
- duplicates
-
SERVER-119789 Make includeQueryStatsMetricsForOpIndex behave as for read path
-
- Closed
-
- related to
-
SERVER-120499 Include queryStatsMetrics in response in BatchWriteExec on when forwarded from router
-
- Closed
-