[SERVER-23891] Stronger typing for ShardId Created: 23/Apr/16  Updated: 05/Jul/16  Resolved: 15/Jun/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.9

Type: Bug Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 15 (06/03/16), Sharding 16 (06/24/16)
Participants:

 Description   

ShardRegistry should have no methods that take a std::string and return a Shard. The methods should take HostAndPort, ShardId (no longer a string typedef) and (if needed) ConnectionString or a new ReplSetName type.



 Comments   
Comment by Githook User [ 15/Jun/16 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-23891 implement ShardId class
Branch: master
https://github.com/mongodb/mongo/commit/8c8379b493eb9b71e34d6586c27280b75267e7c7

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