-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code, Sharding
-
None
-
Fully Compatible
-
ALL
-
auto balSettingsResult = grid.catalogManager()->getGlobalSettings(SettingsType::BalancerDocKey); const bool isBalSettingsAbsent = balSettingsResult.getStatus() == ErrorCodes::NoSuchKey; if (!balSettingsResult.isOK() && !isBalSettingsAbsent) { warning() << balSettingsResult.getStatus(); return; } const SettingsType& balancerConfig = balSettingsResult.getValue();
- is depended on by
-
SERVER-18007 StatusWith should work with non-default constructible T
- Closed