-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Validator counters currently increment in shard-local execution paths for create and collmod (https://github.com/mongodb/mongo/blob/f2db2f8a55663881edc0f3839b71500b30f7baf9/src/mongo/db/shard_role/shard_catalog/database_impl.cpp#L1065 and https://github.com/mongodb/mongo/blob/ef9acb5edd33bceb6861a238d98760982673814c/src/mongo/db/shard_role/shard_catalog/coll_mod.cpp#L497), while validationLevel metrics are counted once per operation, so the the two counts diverge. We should change the validator counters to match the validationLevel counters so they're only incremented once per operation.