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

findSelfInConfig should attempt fast path for every HostAndPort before trying slow path

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.19, 5.0.15, 6.1.0-rc0, 6.0.5
    • None
    • None
    • None
    • Fully Compatible
    • v6.0, v5.0, v4.4, v4.2
    • Repl 2022-09-05

    Description

      Currently, when we run findSelfInConfig, the isSelf logic checks the fast path for a specific HostAndPort and uses the slow path if it does not succeed. Ideally, it should run the fast path for all HostAndPorts, and if any of them don't succeed, then we should move on to the slow path. This should speed up the discovery time.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: