I noticed that the connection string suggested by Mongo Atlas is of the format:
mongodb+srv://<username>:<password>@<cluster name>-pri.<random code>.gcp.mongodb.net/<db name>
Is it possible that by appending -pri
to the cluster name, we are only connecting to the primary node, which will then see downtime when its spun down? I noticed that we can remove the -pri
and still connect to the DB.