[COMPASS-4831] Compass opening extra connections that remains opened Created: 15/May/21  Updated: 16/Sep/21  Resolved: 09/Jul/21

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.26.1
Fix Version/s: 1.27

Type: Bug Priority: Major - P3
Reporter: Jerome Cuny Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOs Catalina 10.15.7


Attachments: PNG File connection log.png     PNG File connection number.png     PNG File running jobs.png    
Issue Links:
Related
related to COMPASS-4830 Compass opening extra connections tha... Closed
Documentation Changes: Not Needed

 Description   

Problem Description

When i run MongoDB Compass and connect it to my local mongod instance, this generates several connections. 

After closing mongodb compass, i still have some connections opened (db.serverStatus().connections gives me a "current" >= 10  when i should only get the one related to my mongo shell connection).

It happens that eventhough Compass is closed, i have some jobs running called MongoDB Compass Helper (Renderer) working in background. Those ones are responsible for the extra connections, therefore closing them manually after i close Compass enables me to come back to only one connection.

Expected Results

I am expecting to get only the number of connections used (1 mongoshell and/or 1 NodejS driver).

 

Additional Notes

I installed MongodB manually and tried to install / uninstall Mongo DB Compass both using  the install_compass bin and the manual installation.

I still have the same problem.

 



 Comments   
Comment by Rhys Howell [ 09/Jul/21 ]

Looks like this was fixed in COMPASS-4830 and in the 1.27.0 release Thanks for reporting!

Generated at Wed Feb 07 22:37:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.