Remove StatusWith methods from ShardingCatalogClient

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • Sharding 2020-11-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Kaloian Manassiev
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: