-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.7.4, 4.0.0-rc4
-
Labels:
-
Query Execution
-
ALL
-
v4.0
On mongos, we log the number of shards involved in an operation via the nShards metric. However, in the mongoS write path (and possible elsewhere), if a shard returns a StaleConfig exception and is not present in the set of shards re-targeted by the mongoS after it refreshes its routing table, we still include the shard in the nShards count.
- is related to
-
SERVER-34016 Add number of contacted shards to the mongos slow query log
- Closed