Closed SSTentacleSS closed 10 months ago
Thanks for your quick response!
Thanks for your quick response!
Meant to give you a better response than that ahah thanks for the well written ticket the change will be tested and introduced in 0.12 (prob next end of week) thanks again
fixed in 0.12
What happened?
When I tried to create a separate user on the cosmos database to differentiate access - cosmos did not process the mongo uri correctly, it seemed to not like the mongo://.../cosmos part
What should have happened?
Cosmos must log in to the cosmos database
How to reproduce the bug?
Execute using mongo shell
And then set connection string to
mongodb://cosmos:test@address:27017/cosmos
with replacing address to your docker container name/mongo addressRelevant log output
Possible solution
Perhaps it’s worth changing db.go and replacing string concatenation with an object-based option for changing parameters?
Maybe it's worth doing something like
SetWriteConcern SetRetryWrites
System details