ReplSetMonitor::getHostOrRefresh times out too quickly

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • 15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Benjamin Caimano (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: