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

WIll mongos work with a replica-set (without sharding)?

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.2.1
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      staging

      re: SERVER-1594

      Will mongos work with a replica-set (without sharding)?

      Env:

      mongos> use admin
      switched to db admin
      mongos> db.runCommand(

      { listShards : 1 }

      );
      {
      "shards" : [

      { "_id" : "sshard1ReplSet", "host" : "sshard1ReplSet/nyc-smongodb02.sta.peer1.squarespace.net:27017,nyc-smongodb03.sta.peer1.squarespace.net:27017,sdbm075:27017" }

      ],
      "ok" : 1
      }
      mongos>

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            bkonash@squarespace.com Brian Konash
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: