Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding 2016-08-29, Sharding 2016-09-19
Description
Example:
3.2 mongos adds 3.4 --shardsvr mongod.
The shardIdentity is inserted asynchronously on the mongod through the config.
The mongos immediately starts using the new shard, though the shard may not have received its shardIdentity (and thus enabled its sharding state) yet.
Make sure any commands that the mongos can send before a command that performs setShardVersion (moveChunk, splitChunk, etc) do not include shardVersion info. If they do, the mongod will massert: