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

Extend the FindReplicaSetHostTimeoutMS timeout in slow test variants

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.0.0, 7.0.0, 8.1.0-rc0, 8.0.0
    • Component/s: None
    • None
    • Networking & Observability
    • ALL
    • 0

      It has been observed that in our testing that for slow test variants an election can take over 15s. When a node routes a command, it will query the the replicaset monitor to know the address for a given read preference. In case no node is reachable, a timeout of 15s is used to wait before throwing `FailedToSatisfyReadPreference`, which is not a retriable error. The requested command will therefore fail. 
      Ideally, we could extend the timeout on slow variants (tsan and ubsan compiled in debug mode).

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: