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

Scrub HostAndPort of kruft

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0-rc3, 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v4.2
    • Service Arch 2019-05-20, Service Arch 2019-06-03, Service Arch 2019-06-17

      HostAndPort now has a SockAddr optional that it carries around for relatively little use. We should obviate that.

      As a stretch goal that probably won't happen, we also carry around a std::string host for every HaP. Standard use sees maybe 6 hosts ever used to construct HaP. We could probably figure out a place to stash these strings and actually have StringData instead.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: