-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding 2020-11-30
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.