-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
DB Integration & Observability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Why: Query stats for update and delete ops inside a bulkWrite command report writes.nUpdateOps and writes.nDeleteOps as 0. The standalone update and delete commands set these counters to the number of statements in the command, but the bulkWrite path does not set them, so the values are inconsistent with the standalone commands.
What: Decide what these counters mean for a bulkWrite op (for example 1 per op, or the number of ops of that type on the namespace) and populate them on the bulkWrite path, with tests. Gated on featureFlagQueryStatsAdditionalWriteCommands.
- related to
-
SERVER-137435 Collect query stats for bulkWrite ops in standalone
-
- In Code Review
-