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

Fix standalone SDAM events

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      The Ruby driver offers two standalone connection options:

      • Direct - topology is forced;
      • (none given) - topology is discovered.

      The URI in standalone sdam monitoring spec test is interpreted by the Ruby driver as a discoverable topology, which is unlike most (all?) other drivers where it means a forced standalone topology. As a result, Ruby driver behavior is not correct.

      This ticket proposes to add both tests and adjust the behavior to be correct for each. The difference is the order in which topology and description change events happen:

      • For a forced topology, transitions are: unknown/unknown -> single topology/unknown server -> single topology/standalone server
      • For a discovered topology, transitions are: unknown/unknown -> unknown topology/standalone server -> single topology/standalone server

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: