Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1427

Allow : for IPv6 in replSetHostMatch

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.8.1
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 1
    • Not Needed
    • Iteration Yellowtail Amberjack

      https://github.com/mongodb-js/mongosh/blob/76aa2d2bb6d20957e2d4bcf169cf0cf8fe864afb/packages/arg-parser/src/uri-generator.ts#L168-L179

      should allow hosts in the form of replsetname/[::1],[::1]:27018,[::1]:27019.

      A simple workaround for this exists in the form of using a connection string instead.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: