|
Here are the observed behavior on Windows based on my experiments:
v2.6.7
Delay also observed with auth off.
Once the delay is observed, subsequent queries will still experience delays.
master (almost equivalent to v3.0.1)
Delay only happens once, subsequent queries will not attempt to downed primary so the delay never occurs again.
Looking further, I discovered that the delay in 2.6.7 was coming from the ShardingConnectionHook::onCreate trying to initialize the version of the connection. This has been completely removed by SERVER-15375, so the delay no longer happens in the new mongos.
|