Allow disabling the serverSelectionTryOnce option

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • C Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Kevin Albertson
            Reporter:
            Andrea Rahmanan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: