summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2023-01-26 15:15:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-26 16:23:42 +0000
commit77aecaaec57c44fe0005f8beb8f12cf8750413ba (patch)
treebc90c4a6bdf4812d986aec59e435c8c890a4e24d /src/mongo/db/commands
parentc79b825adb6c99540eeacc0bdb3cd04edc7ec73c (diff)
downloadmongo-77aecaaec57c44fe0005f8beb8f12cf8750413ba.tar.gz
SERVER-73238 Introduce the `shard_role_api` library
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/SConscript80
-rw-r--r--src/mongo/db/commands/dbcommands.cpp1
2 files changed, 40 insertions, 41 deletions
diff --git a/src/mongo/db/commands/SConscript b/src/mongo/db/commands/SConscript
index 9310de77d17..c36a17cfb36 100644
--- a/src/mongo/db/commands/SConscript
+++ b/src/mongo/db/commands/SConscript
@@ -833,50 +833,50 @@ env.CppUnitTest(
)
env.CppUnitTest(
- target="db_commands_test",
- source=[
- "create_indexes_test.cpp",
- "external_data_source_commands_test.cpp",
- "index_filter_commands_test.cpp",
- "fle_compact_test.cpp",
- "list_collections_filter_test.cpp",
- "mr_test.cpp" if get_option('js-engine') != 'none' else [],
- "parse_log_component_settings_test.cpp",
- "plan_cache_commands_test.cpp",
- "server_status_metric_test.cpp",
- "set_cluster_parameter_invocation_test.cpp",
+ target='db_commands_test',
+ source=[
+ 'create_indexes_test.cpp',
+ 'external_data_source_commands_test.cpp',
+ 'fle_compact_test.cpp',
+ 'index_filter_commands_test.cpp',
+ 'list_collections_filter_test.cpp',
+ 'mr_test.cpp' if get_option('js-engine') != 'none' else [],
+ 'parse_log_component_settings_test.cpp',
+ 'plan_cache_commands_test.cpp',
+ 'server_status_metric_test.cpp',
+ 'set_cluster_parameter_invocation_test.cpp',
],
LIBDEPS=[
- "$BUILD_DIR/mongo/crypto/aead_encryption",
- "$BUILD_DIR/mongo/crypto/encrypted_field_config",
- "$BUILD_DIR/mongo/crypto/fle_crypto",
- "$BUILD_DIR/mongo/db/auth/authmocks",
- "$BUILD_DIR/mongo/db/catalog/catalog_test_fixture",
- "$BUILD_DIR/mongo/db/catalog/collection",
- "$BUILD_DIR/mongo/db/catalog/collection_crud",
- "$BUILD_DIR/mongo/db/commands/list_collections_filter",
- "$BUILD_DIR/mongo/db/concurrency/exception_util",
- "$BUILD_DIR/mongo/db/dbdirectclient",
- "$BUILD_DIR/mongo/db/fle_crud",
- "$BUILD_DIR/mongo/db/fle_mocks",
- "$BUILD_DIR/mongo/db/multitenancy",
- "$BUILD_DIR/mongo/db/op_observer/op_observer",
- "$BUILD_DIR/mongo/db/query/query_planner",
- "$BUILD_DIR/mongo/db/query/query_test_service_context",
- "$BUILD_DIR/mongo/db/query_exec",
- "$BUILD_DIR/mongo/db/repl/drop_pending_collection_reaper",
- "$BUILD_DIR/mongo/db/repl/replmocks",
- "$BUILD_DIR/mongo/db/repl/storage_interface_impl",
- "$BUILD_DIR/mongo/db/service_context_d_test_fixture",
- "$BUILD_DIR/mongo/db/storage/record_store_base",
+ '$BUILD_DIR/mongo/crypto/aead_encryption',
+ '$BUILD_DIR/mongo/crypto/encrypted_field_config',
+ '$BUILD_DIR/mongo/crypto/fle_crypto',
+ '$BUILD_DIR/mongo/db/auth/authmocks',
+ '$BUILD_DIR/mongo/db/catalog/catalog_test_fixture',
+ '$BUILD_DIR/mongo/db/catalog/collection_crud',
+ '$BUILD_DIR/mongo/db/concurrency/exception_util',
+ '$BUILD_DIR/mongo/db/dbdirectclient',
+ '$BUILD_DIR/mongo/db/fle_crud',
+ '$BUILD_DIR/mongo/db/fle_mocks',
+ '$BUILD_DIR/mongo/db/multitenancy',
+ '$BUILD_DIR/mongo/db/op_observer/op_observer',
+ '$BUILD_DIR/mongo/db/query/query_planner',
+ '$BUILD_DIR/mongo/db/query/query_test_service_context',
+ '$BUILD_DIR/mongo/db/query_exec',
+ '$BUILD_DIR/mongo/db/repl/drop_pending_collection_reaper',
+ '$BUILD_DIR/mongo/db/repl/replmocks',
+ '$BUILD_DIR/mongo/db/repl/storage_interface_impl',
+ '$BUILD_DIR/mongo/db/service_context_d_test_fixture',
+ '$BUILD_DIR/mongo/db/shard_role',
+ '$BUILD_DIR/mongo/db/storage/record_store_base',
'$BUILD_DIR/mongo/idl/idl_parser',
'$BUILD_DIR/mongo/shell/kms_idl',
'$BUILD_DIR/mongo/util/version_impl',
- "cluster_server_parameter_commands_invocation",
- "core",
- "create_command",
- "mongod",
- "servers",
- "standalone",
+ 'cluster_server_parameter_commands_invocation',
+ 'core',
+ 'create_command',
+ 'list_collections_filter',
+ 'mongod',
+ 'servers',
+ 'standalone',
],
)
diff --git a/src/mongo/db/commands/dbcommands.cpp b/src/mongo/db/commands/dbcommands.cpp
index 69dae629340..ffb6201d72f 100644
--- a/src/mongo/db/commands/dbcommands.cpp
+++ b/src/mongo/db/commands/dbcommands.cpp
@@ -85,7 +85,6 @@
#include "mongo/db/repl/replication_coordinator.h"
#include "mongo/db/request_execution_context.h"
#include "mongo/db/s/collection_sharding_state.h"
-#include "mongo/db/s/shard_key_index_util.h"
#include "mongo/db/stats/storage_stats.h"
#include "mongo/db/storage/storage_engine_init.h"
#include "mongo/db/timeseries/timeseries_collmod.h"