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"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.1.0
    • 2.0.0-rc2
    • Shell
    • None

    Description

      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".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: