ReplicaSetMonitor::getHostsOrRefresh does not respect wait time in socket connect

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.0.19
    • Component/s: Networking, Sharding
    • None
    • Service Arch
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This socket timeout is a constant of 5 seconds. It should instead respect the maxWait parameter on getHostOrRefresh when the call to refreshUntilMatches is made. Otherwise this could lead to not respecting a user's MaxTimeMS if the MaxTimeMS is less than 5 seconds.

              Assignee:
              [DO NOT USE] Backlog - Service Architecture
              Reporter:
              Matthew Saltz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: