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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.6
    • Affects Version/s: 1.7.5
    • Component/s: None
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: