[COMPASS-5586] Compass MongoDB compatibility Created: 15/Mar/22  Updated: 10/Jan/24  Resolved: 15/Mar/22

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.30.1
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Néstor Waldyd Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-03-15-02-14-40-705.png     PNG File image-2022-03-15-02-16-43-818.png     PNG File image-2022-03-15-09-19-01-904.png    
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?

Unable to connect to mongo db 3.2 instance

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?

Connect from compass/vs code latest version to a mongo db 3.2 instance

Expected Results

What do you expect to happen?

Connection successfully achieved. 

Actual Results

What do you observe is happening?

Compatibility issues between the node js driver and the mongo db version

**.documents.azure.com:10255* reports maximum wire version 2, but this version of the Node.js Driver _requires at least 6 (MongoDB 3.6)_

 

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Massimiliano Marcon [ 15/Mar/22 ]

Hi nestor.waldyd@e-nwave.xyz.

MongoDB 3.2 was EOLed a long time ago (in Sep 2018).

For Compass to be compatible with such an old version of MongoDB, we'd have to put in place workarounds for functionality that was not in the server or in the drivers that were compatible with 3.2 and this would result in a worse user experience.

If you still need to work with MongoDB 3.2, I would recommend downloading an old version of Compass (all our releases are available at https://github.com/mongodb-js/compass/releases).

Similarly, if you are looking for a version of the Node.js driver that works with 3.2, you can install an old version of the driver.

From the screenshots you shared, I assume you are using CosmosDB. I think you might be able to configure it to be 3.6 compatible but even with that it will support a very limited subset of the MongoDB API so Compass might not work in the most optimal way.

Comment by Néstor Waldyd [ 15/Mar/22 ]

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