summaryrefslogtreecommitdiff
path: root/src/mongo/db/keys_collection_client_sharded.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-02-02 10:00:19 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-02-02 15:38:47 -0500
commit721d2547c6c2883b522740dc2b7ff420aeebb7e9 (patch)
tree71a1d88efdde373f26577a792d54e8bbb1ffda5b /src/mongo/db/keys_collection_client_sharded.cpp
parentce3049c1eae2f8e22c0e47086dfa6c77aaab90f7 (diff)
downloadmongo-721d2547c6c2883b522740dc2b7ff420aeebb7e9.tar.gz
SERVER-29908 Move sharding_task_executor under mongo/s
Diffstat (limited to 'src/mongo/db/keys_collection_client_sharded.cpp')
-rw-r--r--src/mongo/db/keys_collection_client_sharded.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/keys_collection_client_sharded.cpp b/src/mongo/db/keys_collection_client_sharded.cpp
index 2f5bb8d6c9c..4b2cb51ce24 100644
--- a/src/mongo/db/keys_collection_client_sharded.cpp
+++ b/src/mongo/db/keys_collection_client_sharded.cpp
@@ -29,12 +29,11 @@
#include "mongo/platform/basic.h"
#include "mongo/db/keys_collection_client_sharded.h"
+
#include "mongo/s/catalog/sharding_catalog_client.h"
namespace mongo {
-namespace {} // namespace
-
KeysCollectionClientSharded::KeysCollectionClientSharded(ShardingCatalogClient* client)
: _catalogClient(client) {}
@@ -50,4 +49,5 @@ Status KeysCollectionClientSharded::insertNewKey(OperationContext* opCtx, const
return _catalogClient->insertConfigDocument(
opCtx, KeysCollectionDocument::ConfigNS, doc, ShardingCatalogClient::kMajorityWriteConcern);
}
+
} // namespace mongo