summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands')
-rw-r--r--src/mongo/s/commands/cluster_commands.idl2
-rw-r--r--src/mongo/s/commands/cluster_index_filter_cmd.cpp3
-rw-r--r--src/mongo/s/commands/cluster_plan_cache_clear_cmd.cpp5
-rw-r--r--src/mongo/s/commands/refine_collection_shard_key.idl2
-rw-r--r--src/mongo/s/commands/shard_collection.idl2
5 files changed, 3 insertions, 11 deletions
diff --git a/src/mongo/s/commands/cluster_commands.idl b/src/mongo/s/commands/cluster_commands.idl
index bc5edc8c7a4..d065a537b94 100644
--- a/src/mongo/s/commands/cluster_commands.idl
+++ b/src/mongo/s/commands/cluster_commands.idl
@@ -30,7 +30,7 @@ global:
cpp_namespace: "mongo"
imports:
- - "mongo/idl/basic_types.idl"
+ - "mongo/db/basic_types.idl"
- "mongo/s/sharding_types.idl"
server_parameters:
diff --git a/src/mongo/s/commands/cluster_index_filter_cmd.cpp b/src/mongo/s/commands/cluster_index_filter_cmd.cpp
index 26fecc0ae19..f58433fbf2e 100644
--- a/src/mongo/s/commands/cluster_index_filter_cmd.cpp
+++ b/src/mongo/s/commands/cluster_index_filter_cmd.cpp
@@ -27,12 +27,9 @@
* it in the license file.
*/
-#include "mongo/platform/basic.h"
-
#include "mongo/db/auth/authorization_session.h"
#include "mongo/db/client.h"
#include "mongo/db/commands.h"
-#include "mongo/db/query/collation/collation_spec.h"
#include "mongo/rpc/get_status_from_command_result.h"
#include "mongo/s/cluster_commands_helpers.h"
#include "mongo/s/grid.h"
diff --git a/src/mongo/s/commands/cluster_plan_cache_clear_cmd.cpp b/src/mongo/s/commands/cluster_plan_cache_clear_cmd.cpp
index cd042d46071..35602bae6d4 100644
--- a/src/mongo/s/commands/cluster_plan_cache_clear_cmd.cpp
+++ b/src/mongo/s/commands/cluster_plan_cache_clear_cmd.cpp
@@ -32,7 +32,6 @@
#include "mongo/db/auth/authorization_session.h"
#include "mongo/db/client.h"
#include "mongo/db/commands.h"
-#include "mongo/db/query/collation/collation_spec.h"
#include "mongo/rpc/get_status_from_command_result.h"
#include "mongo/s/cluster_commands_helpers.h"
#include "mongo/s/grid.h"
@@ -41,10 +40,6 @@
namespace mongo {
namespace {
-using std::string;
-using std::stringstream;
-using std::vector;
-
/**
* Mongos implementation of the 'planCacheClear' command. Forwards the command to one node in each
* targeted shard. For example, with the default read preference ("primary"), clears plan cache
diff --git a/src/mongo/s/commands/refine_collection_shard_key.idl b/src/mongo/s/commands/refine_collection_shard_key.idl
index c77a44a1725..8d9a1013438 100644
--- a/src/mongo/s/commands/refine_collection_shard_key.idl
+++ b/src/mongo/s/commands/refine_collection_shard_key.idl
@@ -32,7 +32,7 @@ global:
cpp_namespace: "mongo"
imports:
- - "mongo/idl/basic_types.idl"
+ - "mongo/db/basic_types.idl"
commands:
refineCollectionShardKey:
diff --git a/src/mongo/s/commands/shard_collection.idl b/src/mongo/s/commands/shard_collection.idl
index 6556d524ba7..cefafadd072 100644
--- a/src/mongo/s/commands/shard_collection.idl
+++ b/src/mongo/s/commands/shard_collection.idl
@@ -30,7 +30,7 @@ global:
cpp_namespace: "mongo"
imports:
- - "mongo/idl/basic_types.idl"
+ - "mongo/db/basic_types.idl"
- "mongo/db/timeseries/timeseries.idl"
structs: