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

ReplSetMonitor::getHostOrRefresh times out too quickly

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • 15

    Description

      The max time default for ReplSetMonitor::getHostOrRefresh is clearly too low at 15 seconds, given failover in our testing can easily take that long on a slow machine or just timing election runs just right.

       
      const Seconds ReplicaSetMonitor::kDefaultFindHostTimeout(15);
      

      However, ReplSetMonitor::getHostOrRefresh timed out after 20 seconds in the linked BF, so this suggests a caller is passing in 20 seconds, which again is too short to be reasonable for testing.

      Attachments

        Activity

          People

            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: