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

"slaveok" shouldn't be used, especially in error messages, since every function uses "slaveOk"

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.0
    • Affects Version/s: 2.0.0-rc2
    • Component/s: Shell
    • Labels:
      None

      It's a pain that the shell tells you that "slaveok=false" and then having the fix be "rs.slaveOk()". The error should be "slaveOk=false", which is used almost everywhere else. This patch fixes the last couple of occurrences of "slaveok".

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            patrick Patrick Collison
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: