diff options
author | Daniel Alabi <alabidan@gmail.com> | 2015-04-20 14:19:16 -0400 |
---|---|---|
committer | Daniel Alabi <alabidan@gmail.com> | 2015-04-23 13:55:27 -0400 |
commit | 53f42ea16712e4156277dec98b967fe6a9a7b906 (patch) | |
tree | a5960c29a73be6d71fb1360d84afe41f681a474a /src/mongo/s/grid.h | |
parent | 9a7bb551c0d01e53bfd3521d3862c73470c13db1 (diff) | |
download | mongo-53f42ea16712e4156277dec98b967fe6a9a7b906.tar.gz |
SERVER-18122 Move sharding global settings retrieval to the catalog manager
Also moved type_settings* to src/mongo/s/catalog/
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r-- | src/mongo/s/grid.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h index 21b4be76fc9..d70db0ac01d 100644 --- a/src/mongo/s/grid.h +++ b/src/mongo/s/grid.h @@ -81,14 +81,6 @@ namespace mongo { bool shouldBalance(const SettingsType& balancerSettings) const; /** - * Retrieve the balancer settings from the config server. Returns false if an error - * occurred while retrieving the document. If the balancer settings document does not - * exist, it is not considered as an error, but the "key" property of the settings - * output parameter will not be set. - */ - bool getBalancerSettings(SettingsType* settings, std::string* errMsg) const; - - /** * Returns true if the config server settings indicate that the balancer should be active. */ bool getConfigShouldBalance() const; @@ -96,15 +88,6 @@ namespace mongo { CatalogManager* catalogManager() const { return _catalogManager.get(); } CatalogCache* catalogCache() const { return _catalogCache.get(); } - /** - * - * Obtain grid configuration and settings data. - * - * @param name identifies a particular type of configuration data. - * @return a BSON object containing the requested data. - */ - BSONObj getConfigSetting( const std::string& name ) const; - // exposed methods below are for testing only /** |