redash icon indicating copy to clipboard operation
redash copied to clipboard

Request for Mongo DB driver update for Serverless Clusters

Open ironmark3 opened this issue 1 year ago • 5 comments

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?

ironmark3 avatar Oct 17 '23 20:10 ironmark3

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:

justinclift avatar Oct 23 '23 16:10 justinclift

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 .

ironmark3 avatar Oct 26 '23 07:10 ironmark3

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:

justinclift avatar Oct 26 '23 07:10 justinclift

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.

jpmolla avatar May 03 '24 23:05 jpmolla

@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.

justinclift avatar May 04 '24 04:05 justinclift