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/sharding_uptime_reporter.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/sharding_uptime_reporter.cpp')
-rw-r--r-- | src/mongo/s/sharding_uptime_reporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/sharding_uptime_reporter.cpp b/src/mongo/s/sharding_uptime_reporter.cpp index e73ebfe64cf..8ee3cca9472 100644 --- a/src/mongo/s/sharding_uptime_reporter.cpp +++ b/src/mongo/s/sharding_uptime_reporter.cpp @@ -34,7 +34,7 @@ #include "mongo/db/client.h" #include "mongo/db/server_options.h" -#include "mongo/s/catalog/catalog_manager.h" +#include "mongo/s/catalog/sharding_catalog_client.h" #include "mongo/s/catalog/type_mongos.h" #include "mongo/s/grid.h" #include "mongo/util/exit.h" @@ -87,7 +87,7 @@ void ShardingUptimeReporter::reportStatus(OperationContext* txn, bool isBalancer mType.setMongoVersion(versionString); try { - Grid::get(txn)->catalogManager(txn)->updateConfigDocument( + Grid::get(txn)->catalogClient(txn)->updateConfigDocument( txn, MongosType::ConfigNS, BSON(MongosType::name(getInstanceId())), |