-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
The implementation of bulkWrite metrics should be equivalent to a single bulkWrite operation. That is, successive insert ops (on the same namespace) in the bulkWrite are grouped into one call of "opCounters.inserts" and every update/delete op (regardless if its on the same namespace or not) increments its own metric. For example, a single update command with 5 update ops will increment this metric 5 times.
Ensure the updateMany and deleteMany cases also follow this pattern. Please refer to this slack conversation for more context.
- is related to
-
SERVER-97055 merge bulk_write and write_ops paths for how replica sets handle writes
- Backlog