Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1713

Topology flapping under load with aggressive server_selection_timeout

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: Server Selection
    • Labels:
      None
    • Case:

      Description

      The driver's topology flaps between known and unknown states, at approximate intervals of 30seconds, then 7 seconds alternating. The 7 seconds corresponds to the configured parameter "server_selection_timeout: 7". Coincidentally the 7 seconds is also used in the test harness for rapid failover testing, and does not appear to have been updated to reflect the SDAM revamp in 2.7.0.

      I suspect this might be in part addressed by the work on RUBY-1434. Though I wanted to bring this extra information to you attention, in addition to make the suggestion that the bounds check for the server_selection_timeout parameter be increased from 3 to something approaching 10-30 seconds.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oleg.pudeyev Oleg Pudeyev
              Reporter:
              luke.prochazka Luke Prochazka
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: