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

Topology flapping under load with aggressive server_selection_timeout

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.7.0
    • Component/s: Server Selection
    • None

      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.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            luke.prochazka@mongodb.com Luke Prochazka
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: