summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-12-10 18:10:39 -0500
committerAndrew Morrow <acm@mongodb.com>2016-12-14 09:22:24 -0500
commitadfb211d0db96d44c88003157fe9ea1a9e0f9e59 (patch)
tree07b9a9008478a3906defa562426195d8ee1dc842
parent971f4f6eb011eff58539b49f0301f6d84e1dfa22 (diff)
downloadmongo-adfb211d0db96d44c88003157fe9ea1a9e0f9e59.tar.gz
SERVER-23103 Move mongod range deleter support to own library
-rw-r--r--src/mongo/db/SConscript17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript
index e4ed22a4f27..740807900cb 100644
--- a/src/mongo/db/SConscript
+++ b/src/mongo/db/SConscript
@@ -737,12 +737,24 @@ env.Library(
],
)
+env.Library(
+ target="range_deleter_d",
+ source=[
+ "range_deleter_db_env.cpp",
+ "range_deleter_service.cpp",
+ ],
+ LIBDEPS=[
+ "catalog/catalog",
+ "dbhelpers",
+ "db_raii",
+ "range_deleter",
+ ],
+)
+
# mongod files - also files used in tools. present in dbtests, but not in mongos and not in client
# libs.
serverOnlyFiles = [
"instance.cpp",
- "range_deleter_db_env.cpp",
- "range_deleter_service.cpp",
"read_concern.cpp",
"repair_database.cpp",
"s/sharding_connection_hook_for_mongod.cpp",
@@ -806,6 +818,7 @@ serveronlyLibdeps = [
"prefetch",
"query/query",
"range_deleter",
+ "range_deleter_d",
"repl/bgsync",
"repl/initial_sync_common",
"repl/oplog_buffer_collection",