Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate process fails with replica set connection string #50

Closed
nosuchip opened this issue Nov 24, 2021 · 1 comment · Fixed by #52
Closed

Migrate process fails with replica set connection string #50

nosuchip opened this issue Nov 24, 2021 · 1 comment · Fixed by #52
Labels

Comments

@nosuchip
Copy link

When using connection string in SRV format like mongodb://mongo1:27017,mongo2:27017,mongo3:27017/socio?replicaSet=replset0 or mongodb+srv://mongo1:27017,mongo2:27017,mongo3:27017/socio?replicaSet=replset0 module fails as it uses standard URL parser which cannot work with connection string syntaxt (which actually not WHATWG URL).

It can be fixed by using special module like connection-string module which is aware of multi-host URIs

mycodeself added a commit that referenced this issue Jan 30, 2022
mycodeself added a commit that referenced this issue Jan 30, 2022
* upgrade dependencies and fixes #50

* update readme.md

* fix: use connection-string to parse uri and upgrade deps
@mycodeself
Copy link
Owner

🎉 This issue has been resolved in version 1.0.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants