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

Add SDAM monitoring example to ruby driver tutorial

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

      Ruby driver tutorial should have an example code & output that:

      1. Sets up SDAM listener
      2. Connects to cluster (SDAM events, cluster & topology state changes being logged)
      3. Steps down the primary (SDAM events, cluster & topology state changes being logged)
      4. Verifies the driver acquires the new primary and is able to run queries/commands

      Also, a version of the above with the driver constantly doing reads & writes would be helpful for validating that the driver does survive cluster elections/Atlas upgrades.

            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: