[COMPASS-5319] Skip session usage for mongodb <3.6 and show warning Created: 23/Nov/21  Updated: 28/Jun/23  Resolved: 11/Jan/23

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

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed

 Description   

We've seen a number of users reporting Compass not working with MongoDB < 3.6 because sessions aren't supported. https://github.com/mongodb-js/compass/issues/2590
Although we don't officially support these older versions, it's only this issue currently that users run into. So solving it will help them avoid having to downgrade to older Compass versions.
We use these sessions to manage and cancel db requests from the CRUD view. This ticket involves adding a workaround for cases where these users dbs can't create sessions. We should still let users use the crud view, but show a warning that their version isn't supported and may lead to performance issues.



 Comments   
Comment by Rhys Howell [ 11/Jan/23 ]

As this has been in Compass for a while and we've decided that the newer versions of Compass don't support those MongoDB versions I'm closing as won't do. Feel free to reopen.

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