[SERVER-27404] Mongo shell `--host` option for replica sets broken in 3.4 Created: 12/Dec/16 Updated: 18/Jan/17 Resolved: 13/Dec/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Howe | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
[This commit](https://github.com/mongodb/mongo/commit/88b540f0c14c7ab8af708aecc4cd6df83081b32e) seems to have broken using replica sets with the `--host` option, which is documented [here](https://docs.mongodb.com/manual/reference/program/mongo/#cmdoption--host). I currently get the following error when trying to use this option: "Error: Failed to parse mongodb:// URL: mongodb://default_set_3.4/172.17.0.7:27017,172.17.0.5:27017,172.17.0.6:27017". Note that this works on MongoDB versions as far back as 2.4, and yet is broken on 3.4. The root cause of this feature breaking in 3.4 seems to be the lack of testing of this option. |
| Comments |
| Comment by Kelsey Schubert [ 13/Dec/16 ] |
|
Hi cjhowe, Thank you for the report. We are currently working to correct this issue in Please watch Kind regards, |