With replica_set_endpoint, commands are being sent though mongos, there are two possible issue with the test:
- SERVER-24880 mongos has different histogram statistics
- mongos killCursors cmd is async with mongod, it is possible that some cursors are killed later than $collStats
- related to
-
SERVER-24880 Inconsistency in histogram statistics for mongos
- Backlog