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

AsyncDBClient should parse isMaster response before calling validateHost

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0-rc6, 4.1.1
    • 4.0.0-rc5, 4.1.1
    • Networking
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Platforms 2018-06-18
    • 0

    Description

      In version 3.6, responses to isMaster would be first parsed and checked for errors, then sent to the hook for validation. This means that errors like HostUnreachable would be caught before entering hook->validateHost.

      In 4.0, it seems we've inverted this ordering, which is leading to an error "Surprised to discover that X does not believe it is a config server" in step-down tests.

      We should fix the ordering to be like it was in 3.6.

      Attachments

        Activity

          People

            jonathan.reams@mongodb.com Jonathan Reams
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: