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

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

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.2.1
    • Replication
    • None
    • staging

    Description

      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>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: