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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.3
    • Component/s: Networking
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: