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

AsyncDBClient should parse isMaster response before calling validateHost

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc6, 4.1.1
    • Affects Version/s: 4.0.0-rc5, 4.1.1
    • Component/s: Networking
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Platforms 2018-06-18
    • 0

      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.

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

              Created:
              Updated:
              Resolved: