Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1709

IP addresses in addShard assumed to be hostnames

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.1
    • Affects Version/s: 1.6.2
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
    • ALL

      if you enter an IP address when executing addShard, mongo assumes it's an hostname and does a DNS lookup on it. This timesout after a long time (~180 seconds or so) and the IP address is used instead, but the DNS lookup occurs every time which means the addShard command takes a long time, as does every further query to the shard.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            boxedice David Mytton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: