Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-409

when creating Mongo to single server, its address appears twice (ipv4/ipv6) and it gets exploded into a replica set

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.4
    • Affects Version/s: None
    • Component/s: None
    • None

      On Linux, InetAddress.getAllByName() returns 2 addresses for same host, one for ipv4 and one for ipv6.
      Then in DBTCPConnector, it considers ServerAddress is "paired" and explodes into replica set.
      So it's not possible to do a direct server connection.

            Assignee:
            antoine Antoine Girbal
            Reporter:
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: