Files
mongo/jstests/sharding/update_immutable_fields.js
Kaloian Manassiev 9ca37ee188 SERVER-19319 Send setShardVersion command after sharding a collection
The shard collection operation needs to inform the former primary shard
for the database containing this collection that the collection is being
sharded. That way, unsharded operations will be rejected when they come
from mongos instances, which are not yet aware the collection became
sharded.

Also reverts commit 280b8e6c83
("SERVER-19319 Temporarily update some tests to run a query after sharding
a collection to force the version to be set")
2015-07-31 14:33:42 -04:00

2.6 KiB