…ons in test Signed-off-by: Eric Milkie <firstname.lastname@example.org>
i) Diallow completely via mongos ii) And partially if mongod started with --configsvr Signed-off-by: Eric Milkie <email@example.com>
…rtial dbconfig objs
The addition of a call to s.stopBalancer() failed because that function didn't exist in 2.0. Bring in all the code that is needed to make it work in 2.0. Also pick up assert changes from 2.1 that make the test more reliable.
… split/migrate Signed-off-by: Tad Marshall <firstname.lastname@example.org>
The test jstests/sharding/no_empty_reset.js was using some functionality that wasn't present in the 2.0 shell. Add code to find the shard name manually to adapt for this.
… all queries test and fix for zero-version being sent to unneeded shards during scatter/gather Backport based on f93918d Signed-off-by: Tad Marshall <email@example.com>
If you clone a database and a document, due to an update, moves forward in memory, cloner might clone both the old and new document. When this happens, creating a unique index might fail. This change restarts the clone when this happens, and will abort after 3 failed cloning attempts.
…g message in appropriate cases.
SERVER-4750 prevent syncing to secondaries with a slavedelay greater than yourself Conflicts: db/repl/rs_initialsync.cpp jstests/replsets/slavedelay3.js
… change, explicitly check for shard versioning turned on
…icate field names by applying updates to the first duplicate field provided by BSONObjIteratorSorted and passing through the remaining duplicates
…list obey it
…ary after first sharding