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

Investigate the direct connection behavior of the tools

    • Type: Icon: Investigation Investigation
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongo-tools-common
    • Labels:
      None

      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.

            Assignee:
            varsha.subrahmanyam@mongodb.com Varsha Subrahmanyam (Inactive)
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: