Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4330

Compass Hangs When Disconnecting From a Connection to a Secondary

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.31.0
    • Affects Version/s: 1.21.0, 1.21.2
    • Component/s: Connectivity
    • Labels:
      None
    • Environment:
      Compass installed on Windows 10 Enterprise
      MongoDB Enterprise Version 4.2.5 and Ops Manager 4.2.7 running on RHEL 7.0
    • Not Needed

      Hello,

      I am testing the latest stable version of MongoDB Compass on our existing deployments and am noticing some cases where the application hangs. 

      For this particular issue, I am connecting to a 3 member replica set and testing the case where the user omits the replica set name in the connections details, specifies the host and port of a secondary member, and uses the default Primary Read Preference.

       

      To reproduce:

      1. Provide the Hostname and Port of a secondary node in the replica set
      2. Omit the Replica Set Name from the connection fields, then Connect
      3. The 'not master and slaveOk=false' error message is displayed
      4. Try to Disconnect from the session
      5. The application hangs

       

      Note that the issue is not reproducible in 1.16.4.

            Assignee:
            Unassigned Unassigned
            Reporter:
            maia.hariri@sunlife.com maia hariri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: