…y specified otherwise" This reverts commit bb65b80.
…not at the end of the array.
… to mongos
not sure of right behavior Revert "we should allow w:majority for a single mongod instance" This reverts commit 3f55adc.
…d to secondary.
…indows compile warnings
Revert jstests/rename2.js to the way it was before, add rename6.js for the new tests, make multi_version_sharding_passthrough.js skip rename6.js since it is new functionality.
Change the timeout on three ScopedDbConnections (made while holding a critical section) from default of zero (no timeout) to 10 seconds.
Queries on mongod must filter out documents that do not currently belong to the shard. The belongsToMe function now uses the new key extraction path to make this determination. An optimization is also added to the clientcursor class so that it can make this determination using a covered index if available.
…ndexes Hashed index keys are expected to have empty field names. A previous commit accidentally changed this behavior.
For ops that occur during a migration, mongod uses the isInRange function to determine whether the ops apply to the chunk being migrated. It now makes this determination using the extractKey method which handles more general shard key patterns.
It broke the build, had only one user and forced mongod and mongos to define the same symbol differently.