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

Mongo shell doesn't allow to set slaveOk when connecting to mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.6
    • 1.7.5
    • None
    • None
    • ALL

    Description

      celestine-3:27017 is a working mongos instance

      1.6.5 mongo works fine:
      xm@celestine-3:~$ /opt/mongodb/bin/mongo celestine-3
      MongoDB shell version: 1.6.5
      connecting to: celestine-3
      > rs.slaveOk()
      >

      Current (yesterday 'nightly') behaves strangely
      xm@celestine-3:~$ ./db/bin/mongo celestine-3
      MongoDB shell version: 1.7.5-pre-
      connecting to: celestine-3
      > rs.slaveOk()
      unrecognized command: replSetGetStatus
      >

      Connecting to mongod works fine.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            onyxmaster Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: