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

Compass Hangs When Disconnecting From a Connection to a Secondary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 1.21.0, 1.21.2
    • Fix Version/s: None
    • 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
    • # Replies:
      0
    • Last comment by Customer:
      true

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            maia.hariri@sunlife.com maia hariri
            Participants:
            Last commenter:
            Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              30 weeks ago