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

Move HostAndPort::isSelf to a free function in the repl namespace

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.3
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      None

      HostAndPort::isSelf is already implemented in mongo/repl/isself.cpp. It's not a property of a HostAndPort in the abstract – it is only meaningful w.r.t. a server that has open sockets.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: