Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-3204

Allow disabling the serverSelectionTryOnce option

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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@mongodb.com Kevin Albertson
            Reporter:
            andrea.rahmanan@mongodb.com Andrea Rahmanan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: