diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-06-06 10:44:38 +0300 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-06-15 11:05:53 -0400 |
commit | 4c98927f267eab9aae7c3987850a1ee5e3a4b620 (patch) | |
tree | 1ace7a6252c6df1b0e55e6ce1bb7bc3aa3a5ca79 /src/mongo/s/SConscript | |
parent | ed7456f206541a6ce5f8184c2cfe4418a568396d (diff) | |
download | mongo-4c98927f267eab9aae7c3987850a1ee5e3a4b620.tar.gz |
SERVER-22672 Move the sharding balancer to the CSRS primary
This change moves the sharding balancer to run on the primary of the CSRS
config server and removes it from the mongos instances.
Diffstat (limited to 'src/mongo/s/SConscript')
-rw-r--r-- | src/mongo/s/SConscript | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript index b4fd14bb21e..3d047de7734 100644 --- a/src/mongo/s/SConscript +++ b/src/mongo/s/SConscript @@ -50,6 +50,7 @@ env.Library( 'request_types/add_shard_to_zone_request_type.cpp', 'request_types/assign_key_range_to_zone_request_type.cpp', 'request_types/balance_chunk_request_type.cpp', + 'request_types/control_balancer_request_type.cpp', 'request_types/remove_shard_from_zone_request_type.cpp', 'chunk_diff.cpp', 'chunk_version.cpp', @@ -188,6 +189,7 @@ env.CppUnitTest('request_types_test', 'request_types/add_shard_to_zone_request_test.cpp', 'request_types/assign_key_range_to_zone_request_test.cpp', 'request_types/balance_chunk_request_test.cpp', + 'request_types/control_balancer_request_test.cpp', 'request_types/remove_shard_from_zone_request_test.cpp', ], LIBDEPS=[ @@ -200,7 +202,6 @@ env.CppUnitTest('request_types_test', env.Library( target='coreshard', source=[ - # This is only here temporarily for auto-split logic in chunk.cpp. 'balancer/balancer.cpp', 'balancer/balancer_chunk_selection_policy.cpp', 'balancer/balancer_chunk_selection_policy_impl.cpp', @@ -212,6 +213,7 @@ env.Library( 'chunk.cpp', 'chunk_manager.cpp', 'config.cpp', + 'config_server_client.cpp', 'grid.cpp', 'shard_util.cpp', 'sharding_egress_metadata_hook.cpp', @@ -278,10 +280,10 @@ env.CppUnitTest( 'balancer/cluster_statistics_test.cpp', ], LIBDEPS=[ - 'coreshard', - 'sharding_test_fixture', '$BUILD_DIR/mongo/db/auth/authorization_manager_mock_init', '$BUILD_DIR/mongo/db/service_context_noop_init', + 'coreshard', + 'sharding_test_fixture', ] ) |