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

AsyncDBClient should parse isMaster response before calling validateHost

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-rc5, 4.1.1
    • Fix Version/s: 4.0.0-rc6, 4.1.1
    • Component/s: Networking
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Platforms 2018-06-18
    • Linked BF Score:
      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

            Assignee:
            jonathan.reams Jonathan Reams
            Reporter:
            matthew.saltz Matthew Saltz
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: