getredash / redash

Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
http://redash.io/
BSD 2-Clause "Simplified" License
26.24k stars 4.36k forks source link

Request for Mongo DB driver update for Serverless Clusters #6533

Open ironmark3 opened 1 year ago

ironmark3 commented 1 year ago

Redash connects well if the clusters are shared or dedicated, but with serverless clusters, it doesn't connect, and connection times out after 30 sec. Any plans to add serverless?

justinclift commented 1 year ago

That's a bit unclear. Any idea what version of the MongoDB driver supports serverless clusters?

Also, which version of Redash were you testing with? :smile:

ironmark3 commented 1 year ago

I'm using v10 of redash, also not sure which driver or version, but redash connects to mongo's dedicated and shared clusters and not serverless cluster .

justinclift commented 1 year ago

No worries. If you're familiar with using Docker images, you could try with the much newer redash/redash:preview image from Docker Hub instead.

It's not "production quality" yet, but it does include much newer versions of the various drivers (including for MongoDB). So there's a pretty good chance that would work for you. :smile:

jpmolla commented 5 months ago

Hi ! Does anyone know if Redash and the MongoDB driver are still maintained ? Because I have switched to a Serverless Clusters from a sharde one and suddenly Redash can't connect to the database. It doesn't surprise me because on other dev I had to update the driver to a more recent one in order to connect successfully to MongoDB Serverless, so it's seems that's something that should be done to this one too.

justinclift commented 5 months ago

@jpmolla That's one of those "it depends" things.

We merged a PR with updated MongoDB support a few months ago, but we've not made an official release yet which includes it.

There's currently a preview build on Docker Hub which does include it though. But if you're going to upgrade your Redash version to that, then make real sure you've taken a backup of your database (and its matching env environment file) just in case something goes wrong.

The preview image is probably good enough for a lot of people if they definitely need something that's in it, but it hasn't received enough testing for us to make a proper release from it yet. So, there's some risk there.