In addition, mongos now needs to start sending setShardVersion (0,0) before sending requests to unsharded collections, otherwise, the connection will never have ShardedConnectionInfo and no version checking will take place for that connection. In other words, if the collection was actually sharded, the shard will not throw a stale shard version exception.
- is related to
-
SERVER-27625 Remove dead ANSA and setShardVersion code
- Closed
- related to
-
SERVER-17825 Remove setShardVersion from shard version protocols
- Closed