diff options
author | Spencer T Brody <spencer@mongodb.com> | 2016-05-31 11:14:24 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2016-06-13 18:26:51 -0400 |
commit | 7899a8e8a62548fb7a149649082bc34bbc001dc2 (patch) | |
tree | 537c418fcd35755518d2f359401ddc644c925454 /src/mongo/s/commands/cluster_enable_sharding_cmd.cpp | |
parent | 710159c9602a6738e6455cfb26bc2d70a0454ae2 (diff) | |
download | mongo-7899a8e8a62548fb7a149649082bc34bbc001dc2.tar.gz |
SERVER-24323 Rename CatalogManager to ShardingCatalogClient
Renames the relevant classes and libraries, moves files, updates comments referencing the
CatalogManager, and renames common methods for getting the catalogManager (like
grid.catalogManager()). No functional changes.
Diffstat (limited to 'src/mongo/s/commands/cluster_enable_sharding_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_enable_sharding_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_enable_sharding_cmd.cpp b/src/mongo/s/commands/cluster_enable_sharding_cmd.cpp index 49a07183f1e..ff11011a59d 100644 --- a/src/mongo/s/commands/cluster_enable_sharding_cmd.cpp +++ b/src/mongo/s/commands/cluster_enable_sharding_cmd.cpp @@ -40,7 +40,7 @@ #include "mongo/db/client_basic.h" #include "mongo/db/commands.h" #include "mongo/s/catalog/catalog_cache.h" -#include "mongo/s/catalog/catalog_manager.h" +#include "mongo/s/catalog/sharding_catalog_client.h" #include "mongo/s/config.h" #include "mongo/s/grid.h" #include "mongo/util/log.h" @@ -105,7 +105,7 @@ public: return false; } - Status status = grid.catalogManager(txn)->enableSharding(txn, dbname); + Status status = grid.catalogClient(txn)->enableSharding(txn, dbname); if (status.isOK()) { audit::logEnableSharding(ClientBasic::getCurrent(), dbname); } |