-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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.
- duplicates
-
RUBY-1389 Document SDAM in ruby driver tutorial
- Closed