[SERVER-45395] change ServerAddress type to be HostAndPort Created: 07/Jan/20  Updated: 29/Oct/23  Resolved: 06/May/20

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: None
Fix Version/s: 4.4.0-rc7, 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Lamont Nelson Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Sharding 2020-05-04, Sharding 2020-05-18
Participants:

 Description   

The SDAM implementation currently has a typedef of ServerAddress to std::string. When I did the implementation I didn't know about the HostAndPort type. SDAM should use HostAndPort for ServerAddress eliminate the need for the RSM to convert between the two.



 Comments   
Comment by Githook User [ 14/May/20 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-45395 Change ServerAddress type to be HostAndPort

(cherry picked from commit ac891ed967fa7568c584e0fafe43c3d24b112fb4)
Branch: v4.4
https://github.com/mongodb/mongo/commit/7ec8daef6f0937d16b9791fb87f0e6f81266d916

Comment by Githook User [ 06/May/20 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-45395 Change ServerAddress type to be HostAndPort
Branch: master
https://github.com/mongodb/mongo/commit/ac891ed967fa7568c584e0fafe43c3d24b112fb4

Generated at Thu Feb 08 05:08:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.