Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6050

Comment on: "manual/reference/method/rs.slaveOk.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      I have a problem with reads from secondary. as every time need to execute rs.slaveOk command in command line of secondary server. But when trying to use robomongo getting eno response collection list not visible.

      Ref:
      uncaught exception: error:

      { "$err" : "not master and slaveOk=false", "code" : 13435 }

      Work arrounds:
      tried open shell from robomongo and executed rs.slaveOk(),db.getMongo().setSlaveOk() no luck finally.

      Please suggest on the same..

      Thanks in advance

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago