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

unable to do show collections on slaves

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.6.3
    • None
    • None
    • ALL

    Description

      > rs.status()
      {
      "set" : "lp",
      "date" : "Fri Nov 19 2010 16:31:19 GMT-0800 (PST)",
      "myState" : 1,
      "members" : [

      { "_id" : 0, "name" : "stage1.vpc3.estalea.net:4101", "health" : 1, "state" : 1, "self" : true }

      ,

      { "_id" : 1, "name" : "stage1.vpc3.estalea.net:4102", "health" : 1, "state" : 2, "uptime" : 1357, "lastHeartbeat" : "Fri Nov 19 2010 16:31:18 GMT-0800 (PST)" }

      ,

      { "_id" : 2, "name" : "stage1.vpc3.estalea.net:4103", "health" : 1, "state" : 2, "uptime" : 1235, "lastHeartbeat" : "Fri Nov 19 2010 16:31:17 GMT-0800 (PST)" }

      ],
      "ok" : 1
      }

      > show dbs
      admin
      local
      lp
      mortgage
      mortgagecache
      purchase
      refinance
      refinancecash
      > use lp
      switched to db lp
      > show collections
      Fri Nov 19 16:35:58 uncaught exception: error:

      { "$err" : "not master", "code" : 10107 }

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            joseph.wang Joseph Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: