With the ability of mongod to interpret the shardVersion command parameter we no longer need to use ShardConnection to set the shard version on the connection itself for commands. Because of this all usages of ShardConnection outside of parallel.cpp should be removed and replaced with calls to the task executor instead.
The usage in parallel.cpp will go away with the removal of ParallelSortClusteredCursor.
- is duplicated by
-
SERVER-13364 geoNear command doesn't handle versioning correctly
- Closed