The serverSelectionTryOnce option is enabled by default, and there isn't a straightforward way to disable it from the CXX or C drivers. As a workaround, we can examine the given string URI and append &serverselectiontryonce=false (or ?serverselectiontryonce=false if there are no other options in the URI), but it’s not ideal.
Allow disabling the serverSelectionTryOnce option
- Assignee:
-
Kevin Albertson
- Reporter:
-
Andrea Rahmanan
- Votes:
-
0 Vote for this issue - Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: