Signed-off-by: Eric Milkie <firstname.lastname@example.org>
… (corrected backport)
…tch size" This reverts commit e50b2e2.
…yKill is false (i.e. in mongos)
…ary after first sharding
…on mongos startup
…freshes, with 30s timeout
… to currentop via mongos
There were two automatic variables named "conn" in scope, with one occluding the other. I mistakenly changed the logic in my last commit, so I have now fixed it, and removed the overlapping scopes.
…hen handling multiple shard case
… shards being down I had to move the creation of ShardConnection inside the try/catch because it is possible that it might throw a SocketException if the shard is down. This change allows shard_gle_insert.js to pass on Windows, and may alleviate Linux failures with getLastError as well.
…f retrying indefinitely. SERVER-4196