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

Prevent timeouts in read_pref_with_hedging_mode.js

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • CAR Team 2024-04-15
    • 5
    • 1

      In the read_pref_with_hedging_mode test, the first read that doesn't throw some error on the mongos is setting a maxTimeMS of 1000ms. Since this is the first read to this collection, the mongoS is having to perform a refresh to get the routing information. On slow machines, this refresh can sometimes take enough time that the operation hits the max time.

      We should either increase the maxTimeMS of this operation or perform a read at the beginning of the test to cause the refresh to happen earlier.

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: