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

Change "not master and slaveOk=false" error message to "not master and secondaryOk=false"

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Replication
    • None
    • Repl 2020-09-21, Repl 2020-11-02, Repl 2020-11-16

    Description

      Ensure that the new error message is only returned if the client sent a "hello" command. This is to preserve backwards compatibility with older drivers that parse the error message for "not master".

      Attachments

        Issue Links

          Activity

            People

              pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
              pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: