[SERVER-40989] Scrub HostAndPort of kruft Created: 03/May/19 Updated: 29/Oct/23 Resolved: 07/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc3, 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Mathias Stearn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v4.2
|
||||
| Sprint: | Service Arch 2019-05-20, Service Arch 2019-06-03, Service Arch 2019-06-17 | ||||
| Participants: | |||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 02/Jul/19 ] |
|
Author: {'name': 'Mathias Stearn', 'email': 'mathias@10gen.com', 'username': 'RedBeard0531'}Message: 224 bytes -> 40 bytes |
| Comment by Githook User [ 02/Jul/19 ] |
|
Author: {'name': 'Mathias Stearn', 'username': 'RedBeard0531', 'email': 'redbeard0531@gmail.com'}Message: |
| Comment by Githook User [ 06/Jun/19 ] |
|
Author: {'name': 'Mathias Stearn', 'email': 'mathias@10gen.com', 'username': 'RedBeard0531'}Message: 224 bytes -> 40 bytes |
| Comment by Githook User [ 06/Jun/19 ] |
|
Author: {'name': 'Mathias Stearn', 'email': 'redbeard0531@gmail.com', 'username': 'RedBeard0531'}Message: |