Closed dbmurphy closed 7 years ago
Actually hold on this looks like splits will be needed as test:test@host1:1234,test:test@host2:1234 ends up with host="host1:1234,test:test" so I will need to split things out ... if using more than 1 host in a mongo URI
Only an issue if you are using user:pass@host:port type auth.
Closing since this was handled in https://github.com/ParsePlatform/flashback/pull/45
Mongo URI works well most of the time but if a password included : or @ it will cause it errors.
I have added a universal --username --password, which will apply as a "default", however using user:pass@host will override these variable. If the pattern included user:pass it will enable the --auth flag also which might be left off. This expects things to all be the same such as
url="host1:27008,host2:27008" or url="david:pass@host1:27008,david:pass@host2:27008"
It is not expecting something like url="host1:27008,david:pass@host2:27008"
For that we would need to break each node into an array on "," , I didnt think that was needed but let me know if we should expect mixed mode.