summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergi Mateo Bellido <sergi.mateo-bellido@mongodb.com>2022-10-22 14:13:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-28 13:25:34 +0000
commit8ad69f82f6b88b5f82c79ce15874f17a670c4dc9 (patch)
treee4ed26229f580d3fe25c009822f5d8c89b0cf645
parent9775ef6d331f7855820450e23ecbb03c319431e3 (diff)
downloadmongo-8ad69f82f6b88b5f82c79ce15874f17a670c4dc9.tar.gz
SERVER-70381 Creating auxiliary library with the ShardFilterer
(cherry picked from commit 83db85a8e224faf3e3bb36c610e9b35669429dfe)
-rw-r--r--src/mongo/db/SConscript12
1 files changed, 11 insertions, 1 deletions
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
@@ -1329,6 +1329,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=[
'clientcursor.cpp',
@@ -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',