Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2732

Investigate the direct connection behavior of the tools

    XMLWordPrintable

    Details

    • Type: Investigation
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: No versions
    • Component/s: mongo-tools-common
    • Labels:
      None

      Description

      Previously the tools would set direct = true unless the replica set name was specified, even if a seedlist was specified. As of go driver 1.4.0-beta2, this causes an error. This means any seedlist without replica set name causes tools to fail for tools 100.1.0+.

      I think we should investigate if the direct connection was necessary - it seems weird to me that we would force a direct connection if a seedlist was specified. This seems to go against the expected SDAM behavior.

      If we are okay with this change, we should at the very least change the documentation. The documentation currently makes it sound like specifying a replica set name is necessary to force a replica set connection. But a seedlist is sufficient.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              varsha.subrahmanyam Varsha Subrahmanyam
              Reporter:
              tim.fogarty Tim Fogarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: