summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-09-10 06:16:21 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-10 10:39:26 +0000
commit0b3787d34b3f0963dea2fc53ddc10ff0e8ae81be (patch)
tree56efc08e665b21cb53aa99ede7bc3fe27f4c3147
parent52e44c576826cae6871694ff6ee48bb43207d33d (diff)
downloadmongo-0b3787d34b3f0963dea2fc53ddc10ff0e8ae81be.tar.gz
SERVER-59855 merge timeseries_idl into timeseries_options
-rw-r--r--src/mongo/db/SConscript4
-rw-r--r--src/mongo/db/catalog/SConscript3
-rw-r--r--src/mongo/db/commands/SConscript2
-rw-r--r--src/mongo/db/pipeline/SConscript2
-rw-r--r--src/mongo/db/s/SConscript5
-rw-r--r--src/mongo/db/timeseries/SConscript22
-rw-r--r--src/mongo/s/SConscript4
-rw-r--r--src/mongo/s/commands/SConscript2
8 files changed, 16 insertions, 28 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript
index 2c93cea9b81..a6dc31a38df 100644
--- a/src/mongo/db/SConscript
+++ b/src/mongo/db/SConscript
@@ -601,7 +601,7 @@ env.Library(
'$BUILD_DIR/mongo/db/commands/server_status_core',
'$BUILD_DIR/mongo/db/commands/test_commands_enabled',
'$BUILD_DIR/mongo/db/query/common_query_enums_and_helpers',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/idl/idl_parser',
'$BUILD_DIR/mongo/rpc/command_status',
'$BUILD_DIR/mongo/rpc/rewrite_state_change_errors',
@@ -1336,7 +1336,7 @@ env.Library(
'$BUILD_DIR/mongo/db/catalog/local_oplog_info',
'$BUILD_DIR/mongo/db/commands/server_status_core',
'$BUILD_DIR/mongo/db/stats/resource_consumption_metrics',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'kill_sessions',
'not_primary_error_tracker',
'record_id_helpers',
diff --git a/src/mongo/db/catalog/SConscript b/src/mongo/db/catalog/SConscript
index ba12b0844d9..13d29084640 100644
--- a/src/mongo/db/catalog/SConscript
+++ b/src/mongo/db/catalog/SConscript
@@ -24,7 +24,7 @@ env.Library(
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/query/collation/collator_interface',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/idl/basic_types',
'$BUILD_DIR/mongo/idl/idl_parser',
],
@@ -452,7 +452,6 @@ env.Library(
'$BUILD_DIR/mongo/db/index_commands_idl',
'$BUILD_DIR/mongo/db/query_exec',
'$BUILD_DIR/mongo/db/server_options_core',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
'$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/db/ttl_collection_cache',
'$BUILD_DIR/mongo/db/views/views',
diff --git a/src/mongo/db/commands/SConscript b/src/mongo/db/commands/SConscript
index a600ca3ecc9..b23d232c07f 100644
--- a/src/mongo/db/commands/SConscript
+++ b/src/mongo/db/commands/SConscript
@@ -275,7 +275,7 @@ env.Library(
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/auth/authprivilege',
'$BUILD_DIR/mongo/db/catalog/collection_options',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/idl/basic_types',
'$BUILD_DIR/mongo/idl/idl_parser',
],
diff --git a/src/mongo/db/pipeline/SConscript b/src/mongo/db/pipeline/SConscript
index 8d54554fd1e..c0f99f804db 100644
--- a/src/mongo/db/pipeline/SConscript
+++ b/src/mongo/db/pipeline/SConscript
@@ -353,8 +353,8 @@ pipelineEnv.Library(
'$BUILD_DIR/mongo/db/query/projection_ast',
'$BUILD_DIR/mongo/db/repl/image_collection_entry',
'$BUILD_DIR/mongo/db/sorter/sorter_idl',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
'$BUILD_DIR/mongo/db/timeseries/timeseries_index_schema_conversion_functions',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/rpc/command_status',
]
)
diff --git a/src/mongo/db/s/SConscript b/src/mongo/db/s/SConscript
index 7cda944baca..b48ed7a2b8e 100644
--- a/src/mongo/db/s/SConscript
+++ b/src/mongo/db/s/SConscript
@@ -386,7 +386,6 @@ env.Library(
'$BUILD_DIR/mongo/db/repl/repl_coordinator_interface',
'$BUILD_DIR/mongo/db/repl/replica_set_messages',
'$BUILD_DIR/mongo/db/timeseries/catalog_helper',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
'$BUILD_DIR/mongo/db/timeseries/timeseries_index_schema_conversion_functions',
'$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/s/commands/shared_cluster_commands',
@@ -539,7 +538,7 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/db/repl/replmocks',
'$BUILD_DIR/mongo/db/repl/storage_interface_impl',
'$BUILD_DIR/mongo/db/repl/wait_for_majority_service',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/executor/thread_pool_task_executor_test_fixture',
'$BUILD_DIR/mongo/s/catalog/sharding_catalog_client_mock',
'$BUILD_DIR/mongo/s/sharding_router_test_fixture',
@@ -594,7 +593,7 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/db/pipeline/document_source_mock',
'$BUILD_DIR/mongo/db/read_write_concern_defaults_mock',
'$BUILD_DIR/mongo/db/repl/replication_info',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/util/version_impl',
'config_server_test_fixture',
'resharding_util',
diff --git a/src/mongo/db/timeseries/SConscript b/src/mongo/db/timeseries/SConscript
index 96d79cf1b4a..da95424f213 100644
--- a/src/mongo/db/timeseries/SConscript
+++ b/src/mongo/db/timeseries/SConscript
@@ -5,17 +5,6 @@ Import("env")
env = env.Clone()
env.Library(
- target='timeseries_idl',
- source=[
- 'timeseries.idl',
- ],
- LIBDEPS=[
- '$BUILD_DIR/mongo/idl/idl_parser',
- '$BUILD_DIR/mongo/idl/server_parameter',
- ],
-)
-
-env.Library(
target='bucket_catalog',
source=[
'bucket_catalog.cpp',
@@ -27,7 +16,6 @@ env.Library(
'$BUILD_DIR/mongo/db/concurrency/write_conflict_exception',
'$BUILD_DIR/mongo/db/views/views',
'$BUILD_DIR/mongo/util/fail_point',
- 'timeseries_idl',
'timeseries_options',
],
)
@@ -40,7 +28,7 @@ env.Library(
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/index_names',
'$BUILD_DIR/mongo/db/storage/storage_options',
- 'timeseries_idl',
+ 'timeseries_options',
],
)
@@ -53,7 +41,7 @@ env.Library(
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/catalog/collection_catalog',
'$BUILD_DIR/mongo/db/namespace_string',
- 'timeseries_idl',
+ 'timeseries_options',
],
)
@@ -68,17 +56,20 @@ env.Library(
'$BUILD_DIR/mongo/db/namespace_string',
'$BUILD_DIR/mongo/db/storage/storage_options',
'timeseries_index_schema_conversion_functions',
+ 'timeseries_options',
],
)
env.Library(
target='timeseries_options',
source=[
+ 'timeseries.idl',
'timeseries_options.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/base',
- 'timeseries_idl',
+ '$BUILD_DIR/mongo/idl/idl_parser',
+ '$BUILD_DIR/mongo/idl/server_parameter',
],
)
@@ -115,7 +106,6 @@ env.CppUnitTest(
LIBDEPS=[
'$BUILD_DIR/mongo/db/catalog/catalog_test_fixture',
'bucket_catalog',
- 'timeseries_idl',
'timeseries_index_schema_conversion_functions',
'timeseries_options',
'timeseries_update_delete_util',
diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript
index a359df74af8..1d3aefff9d6 100644
--- a/src/mongo/s/SConscript
+++ b/src/mongo/s/SConscript
@@ -229,7 +229,7 @@ env.Library(
"load_balancer_feature_flag",
],
LIBDEPS_PRIVATE=[
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
],
)
@@ -636,8 +636,8 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/db/ops/write_ops_parsers_test_helpers',
'$BUILD_DIR/mongo/db/pipeline/process_interface/mongos_process_interface_factory',
'$BUILD_DIR/mongo/db/query/query_test_service_context',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
'$BUILD_DIR/mongo/db/timeseries/timeseries_index_schema_conversion_functions',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/dbtests/mocklib',
'$BUILD_DIR/mongo/s/catalog/sharding_catalog_client_mock',
'$BUILD_DIR/mongo/s/write_ops/batch_write_types',
diff --git a/src/mongo/s/commands/SConscript b/src/mongo/s/commands/SConscript
index 0c1621aaee4..82ee55fb094 100644
--- a/src/mongo/s/commands/SConscript
+++ b/src/mongo/s/commands/SConscript
@@ -147,7 +147,7 @@ env.Library(
'$BUILD_DIR/mongo/db/stats/api_version_metrics',
'$BUILD_DIR/mongo/db/stats/counters',
'$BUILD_DIR/mongo/db/timeseries/timeseries_commands_conversion_helper',
- '$BUILD_DIR/mongo/db/timeseries/timeseries_idl',
+ '$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/db/views/views',
'$BUILD_DIR/mongo/executor/async_multicaster',
'$BUILD_DIR/mongo/executor/async_request_executor',