From 8ad69f82f6b88b5f82c79ce15874f17a670c4dc9 Mon Sep 17 00:00:00 2001 From: Sergi Mateo Bellido Date: Sat, 22 Oct 2022 14:13:01 +0000 Subject: SERVER-70381 Creating auxiliary library with the ShardFilterer (cherry picked from commit 83db85a8e224faf3e3bb36c610e9b35669429dfe) --- src/mongo/db/SConscript | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index b0f6854468c..dabf8db22de 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -1328,6 +1328,16 @@ env.Library( ], ) +env.Library( + target='shard_filterer', + source=[ + 'exec/shard_filterer_impl.cpp', + ], + LIBDEPS_PRIVATE=[ + 's/sharding_api_d', + ], +) + env.Library( target='query_exec', source=[ @@ -1367,7 +1377,6 @@ env.Library( 'exec/return_key.cpp', 'exec/sample_from_timeseries_bucket.cpp', 'exec/shard_filter.cpp', - 'exec/shard_filterer_impl.cpp', 'exec/skip.cpp', 'exec/sort.cpp', 'exec/sort_key_generator.cpp', @@ -1468,6 +1477,7 @@ env.Library( 'repl/repl_coordinator_interface', 's/sharding_api_d', 'session/logical_session_cache', + 'shard_filterer', 'shared_request_handling', 'stats/serveronly_stats', 'storage/remove_saver', -- cgit v1.2.1