summaryrefslogtreecommitdiff
path: root/src/mongo/s/SConscript
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2020-12-04 08:13:42 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-03 11:56:04 +0000
commit5431150d116b70fc9401c46deaacc9ae049f064e (patch)
treed1784b3cb2355cee9401e539f4574f0172995d8d /src/mongo/s/SConscript
parent98a7731d21a8746e584f7092aadbee60a5fad6ef (diff)
downloadmongo-5431150d116b70fc9401c46deaacc9ae049f064e.tar.gz
SERVER-53227 Move the DistLockManager to only be available on MongoD
Diffstat (limited to 'src/mongo/s/SConscript')
-rw-r--r--src/mongo/s/SConscript18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript
index 786ab9bff6d..87e57a49fd6 100644
--- a/src/mongo/s/SConscript
+++ b/src/mongo/s/SConscript
@@ -96,8 +96,6 @@ env.Library(
],
LIBDEPS=[
'$BUILD_DIR/mongo/executor/async_multicaster',
- '$BUILD_DIR/mongo/s/catalog/dist_lock_catalog_impl',
- '$BUILD_DIR/mongo/s/catalog/replset_dist_lock_manager',
'$BUILD_DIR/mongo/s/catalog/sharding_catalog_client_impl',
'$BUILD_DIR/mongo/util/periodic_runner_factory',
'common_s',
@@ -123,7 +121,7 @@ env.Library(
'$BUILD_DIR/mongo/executor/task_executor_interface',
'$BUILD_DIR/mongo/s/client/shard_interface',
'$BUILD_DIR/mongo/s/client/sharding_client',
- '$BUILD_DIR/mongo/s/coreshard',
+ 'coreshard',
'mongos_server_parameters',
],
)
@@ -223,12 +221,11 @@ env.Library(
LIBDEPS=[
'$BUILD_DIR/mongo/db/query/collation/collator_factory_mock',
'$BUILD_DIR/mongo/executor/task_executor_pool',
- '$BUILD_DIR/mongo/s/catalog/dist_lock_manager_mock',
- '$BUILD_DIR/mongo/s/catalog/sharding_catalog_client_impl',
- '$BUILD_DIR/mongo/s/coreshard',
'$BUILD_DIR/mongo/transport/transport_layer_mock',
'$BUILD_DIR/mongo/util/clock_source_mock',
+ 'catalog/sharding_catalog_client_impl',
'committed_optime_metadata_hook',
+ 'coreshard',
'sharding_egress_metadata_hook_for_mongos',
'sharding_task_executor',
'sharding_test_fixture_common',
@@ -493,6 +490,7 @@ env.Library(
# library to inject a static or mongo initializer to mongos,
# please add that library as a private libdep of
# mongos_initializers.
+ '$BUILD_DIR/mongo/client/remote_command_targeter',
'$BUILD_DIR/mongo/db/audit',
'$BUILD_DIR/mongo/db/auth/authmongos',
'$BUILD_DIR/mongo/db/commands/servers',
@@ -573,10 +571,10 @@ env.CppUnitTest(
'append_raw_responses_test.cpp',
'balancer_configuration_test.cpp',
'build_versioned_requests_for_targeted_shards_test.cpp',
- 'catalog_cache_test.cpp',
'catalog_cache_refresh_test.cpp',
- 'comparable_chunk_version_test.cpp',
- 'comparable_database_version_test.cpp',
+ 'catalog_cache_test.cpp',
+ 'catalog/sharding_catalog_client_test.cpp',
+ 'catalog/sharding_catalog_write_retry_test.cpp',
'catalog/type_changelog_test.cpp',
'catalog/type_chunk_test.cpp',
'catalog/type_collection_test.cpp',
@@ -596,6 +594,8 @@ env.CppUnitTest(
'client/shard_remote_test.cpp',
'cluster_identity_loader_test.cpp',
'cluster_last_error_info_test.cpp',
+ 'comparable_chunk_version_test.cpp',
+ 'comparable_database_version_test.cpp',
'hedge_options_util_test.cpp',
'mongos_topology_coordinator_test.cpp',
'request_types/add_shard_request_test.cpp',