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

Queries against sharded collection return "all servers down"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.0
    • Sharding
    • None
    • Ubuntu Linux 12.04. All servers are at the 2.2.0 version.
    • ALL

    Description

      Two replication sets, each with 3 servers. Three mongod config servers. Two mongos application servers. I created a sharded configuration with the two replication sets and sharded some collections. After bouncing all the servers, queries in the shell against non-sharded collections succeed, but queries against sharded collections return:

      MongoDB shell version: 2.2.0
      connecting to: mongos:27017/test
      mongos> use policydb;
      switched to db policydb
      mongos> db.policies.findOne();
      Mon Oct 8 21:44:44 uncaught exception: error {
      "$err" : "setShardVersion failed host: cw-mongodb2-test:27017

      { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), errmsg: \"exception: all servers down!\", code: 8002, ok: 0.0 }

      ",
      "code" : 10429
      }

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            smcqueen Stan McQueen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: