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

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

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

      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.

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

              Created:
              Updated:
              Resolved: