Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15938

Running enablesharding using 2.8 mongods with 2.6 mongos fails with obscure message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • None
    • None
    • Sharding

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              andrew.emil@10gen.com Andrew Emil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: