Stronger typing for ShardId

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.9
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 15 (06/03/16), Sharding 16 (06/24/16)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Misha Tyulenev (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: