If you have a sharded cluster with 2.8 mongod shards and a 2.6 mongos, running enablesharding will result in a very confusing message:
Error: command { "enablesharding" : "test" } failed: { "code" : 13111, "ok" : 0, "errmsg" : "exception: error creating initial database config information :: caused by :: field not found, expected type 8" }
It would be nice if there was a way to detect this situation and alert users to the fact that they need to upgrade all their mongos instances before any of their mongod instances.
- duplicates
-
SERVER-16184 repeated WriteBackListener error on out-of-order upgrade
- Closed
- is related to
-
SERVER-16252 DBConnectionPool::flush should fully flush connection pool
- Closed