In the python stepdown hook, as part of pausing the stepdown thread we currently wait for mongos to retarget all shards.
In order to ensure that the mongos can target all the primaries nodes of all the replicasets in the cluster we call collStats for every existing collection/view. This logic is wrong because collStats can't be executed in views.
- is depended on by
-
SERVER-71368 Stop excluding tests that drop collection/database in sharded suites
- Closed
- is related to
-
SERVER-72858 Do not wait for mongos retargeting in stepdown hook
- Closed