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

Stronger typing for ShardId

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.9
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 15 (06/03/16), Sharding 16 (06/24/16)

    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.

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: