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

Remove StatusWith methods from ShardingCatalogClient

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Sharding
    • Fully Compatible
    • Sharding 2020-11-30

    Description

      The ShardingCatalogClient uses both StatusWith and exception-throwing methods, which is potential source of bugs and also adds code verbosity. This ticket is to switch entirely to exception-throwing methods, which will also allow some of the parsing code to be thrown out (namely the fromBSON methods like this one), simplifying the work for SERVER-52776.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: