Files
mongo/modules_poc/modules.yaml
Ted Tuckman 0236e6d2e0 SERVER-104688 Assign QI files to modules (#35740)
GitOrigin-RevId: b80f2256060f3b4377c2311c223b525efe142048
2025-05-06 15:21:12 +00:00

413 lines
13 KiB
YAML

# This file defines the modules for the MongoDB project.
#
# Top-level keys are modules names. Dots can be used to create submodules.
# Each module has a meta section with information about the module and a files section
# with a list of globs that belong to the module. Any metadata missing from submodules
# will be inherited from their parent.
#
# How metadata is used:
# slack:
# Slack channel for questions about the the module. This will be included in
# error messages about accessing private APIs, so that developers know where
# to go to ask what they should do instead. Because # starts comments in YAML,
# you should just write server-foo instead of #server-foo.
#
# jira:
# Jira "Assigned Team" that should be used when filing tickets for the module.
#
# If unsure about these, or if multiple teams are involved, please pick a good place
# to send questions/tickets to initially, understanding that we can always send them
# somewhere else if needed.
# This module is a temporary home for files that also match a less-specific
# (currently defined as shorter) glob in some module that these files should not
# belong to. As part of assigning files to modules we should move these globs to
# the module they belong to and eventually remove this module.
__NONE__:
files:
- src/mongo/idl/cluster_server_parameter*
- src/mongo/idl/cluster_parameter_synchronization_helpers*
core:
description: TODO
meta:
slack: server-programmability
jira: Server Programmability
files:
- src/mongo/base/
- src/mongo/platform/
- src/mongo/stdx/
- src/mongo/util/
- src/mongo/db/field_parser[._]*
- src/mongo/db/generic_argument_util.*
- src/mongo/db/nesting_depth_test.cpp
- src/mongo/db/operation_killer.*
- src/mongo/db/operation_time_tracker[._]*
- src/mongo/db/request_execution_context.h
- src/mongo/db/server_lifecycle_monitor[._]*
- src/mongo/db/service_entry_point_bm_fixture.h
- src/mongo/db/service_entry_point_rs_endpoint.*
- src/mongo/db/startup_warnings_common.*
- src/mongo/db/startup_warnings_mongod.*
- src/mongo/db/thread_client_test.cpp
- src/mongo/db/throw_hook_impl[._]*
- src/mongo/db/throw_hook_options.idl
- src/mongo/dbtests/threadedtests.cpp
- src/mongo/dbtests/basictests.cpp
- src/mongo/executor/cancelable_executor[._]*
- src/mongo/executor/inline_executor[._]*
- src/mongo/executor/scoped_task_executor[._]*
- src/mongo/executor/task_executor[._]*
- src/mongo/executor/thread_pool[._]*
- src/mongo/db/exec/scoped_timer*
core.bson:
files:
- src/mongo/bson/
# Unsure about the next one but putting here for now:
- src/mongo/db/query/util/jparse_util* # needs to be same module as bson/json.h
- src/mongo/dbtests/jsobjtests.cpp
- src/mongo/dbtests/jsontests.cpp
- src/mongo/db/hasher* # TODO move to bson/ or at least rename to be less generic
- src/mongo/db/json.h # TODO delete this forwarding header which is only included in 5 places
core.idl:
files:
- src/mongo/idl/
- src/mongo/db/basic_types.*
# stuff that is part of a generic mongo service
core.service:
files:
- src/mongo/db/commands[._]* # not the commands directory
- src/mongo/db/*operation_context*
- src/mongo/db/client*
- src/mongo/db/service_context*
- src/mongo/db/dbdirectclient[._]*
- src/mongo/dbtests/directclienttests.cpp
- src/mongo/db/feature_flag*
- src/mongo/db/error_labels*
- src/mongo/db/server_feature_flags.idl
- src/mongo/db/windows_options.idl
# stuff that is part of a *specific* mongo server (eg mongos, mongod)
core.servers:
files:
- src/mongo/db/mongod.cpp
- src/mongo/db/mongod_main.*
- src/mongo/db/mongod_options.*
- src/mongo/db/mongod_options_init.cpp
- src/mongo/db/mongod_initializers.cpp
- src/mongo/db/mongod_options_general.*
- src/mongo/db/mongod_options_legacy.idl
- src/mongo/db/mongod_options_test.cpp
- src/mongo/db/service_context_d_test_fixture*
- src/mongo/db/global_settings*
- src/mongo/s/mongos.cpp
- src/mongo/s/mongos_main.*
- src/mongo/s/mongos_options*
core.commands:
files:
- src/mongo/db/commands/async_command_execution_test.cpp
- src/mongo/db/commands/buildinfo_common.*
- src/mongo/db/commands/cpuload.cpp
- src/mongo/db/commands/db_command_test_fixture.h
- src/mongo/db/commands/fail_point_cmd.cpp
- src/mongo/db/commands/kill_op.cpp
- src/mongo/db/commands/kill_op_cmd_base.*
- src/mongo/db/commands/kill_operations.idl
- src/mongo/db/commands/killoperations_cmd.cpp
- src/mongo/db/commands/killoperations_common.h
- src/mongo/db/commands/sessions_commands.idl
- src/mongo/db/commands/shutdown.*
- src/mongo/db/commands/shutdown_d.cpp
- src/mongo/db/commands/sleep_command.cpp
- src/mongo/db/commands/test_commands[._]*
- src/mongo/db/commands/generic.*
- src/mongo/db/commands/generic_servers.*
- src/mongo/db/commmands/parameters.*
- src/mongo/s/request_types/wait_for_fail_point.idl
- src/mongo/s/commands/cluster_build_info.cpp
- src/mongo/s/commands/cluster_kill_op.cpp
- src/mongo/s/commands/cluster_killoperations_cmd.cpp
- src/mongo/s/commands/cluster_shutdown_cmd.cpp
core.unittest:
files:
- src/mongo/unittest/
- src/mongo/dbtests/framework[._]*
clang_tidy_checks:
meta:
slack: server-programmability
jira: Server Programmability
files:
- src/mongo/tools/mongo_tidy_checks/
shell:
meta:
slack: ask-devprod-correctness
jira: DevProd Correctness
files:
- src/mongo/shell/
- src/mongo/db/modules/enterprise/src/fle/shell
query:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/commands/profile*
- src/mongo/db/commands/query_cmd/
- src/mongo/db/commands/server_status*
- src/mongo/db/commands/set_profiling_*
- src/mongo/db/commands/shardsvr_resolve_view_command*
- src/mongo/db/commands/top_command*
- src/mongo/db/exec/
- src/mongo/db/fle_*
- src/mongo/db/curop*
- src/mongo/db/fts/
- src/mongo/db/geo/
- src/mongo/db/index/ # mostly query, except index_access_method owned by storex
- src/mongo/db/matcher/
- src/mongo/db/memory_tracking/
- src/mongo/db/modules/enterprise/src/fle/query_analysis
- src/mongo/db/op_debug*
- src/mongo/db/pipeline/
- src/mongo/db/profile_*
- src/mongo/db/query/
- src/mongo/db/s/query_analysis* # note the filename pattern
- src/mongo/db/s/*query*analyzer* # note the filename pattern
- src/mongo/db/stats/
- src/mongo/db/update/
- src/mongo/db/views/
- src/mongo/dbtests/extensions_callback_real_test.cpp
- src/mongo/dbtests/jstests.cpp
- src/mongo/scripting/
- src/mongo/db/namespace_spec.idl # only used by query
- src/mongo/util/safe_num*
catalog:
meta:
slack: server-catalog-and-routing
jira: Catalog and Routing
files:
- src/mongo/db/catalog/
- src/mongo/db/catalog_raii*
- src/mongo/db/namespace_string*
- src/mongo/db/d_concurrency_* # TODO SERVER-104625 move to db/concurrency with siblings
- src/mongo/db/database_name*
- src/mongo/db/tenant_id* # needs to be same module as database_name.h
- src/mongo/dbtests/indexcatalogtests.cpp
- src/mongo/util/namespace_string* # needs to be same module as db/namespace_string.h
replication:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/repl/ # excluding ./dbcheck*
- src/mongo/db/transaction/
- src/mongo/db/op_observer/op_observer_impl* # specific files
- src/mongo/db/op_observer/fcv_op_observer* # specific files
- src/mongo/db/op_observer/find_and_modify_images_op_observer* # specific files
storage_engine:
meta:
slack: TODO
jira: TODO
files:
- src/third_party/wiredtiger/
access_control:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/auth/
admission:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/admission/
security:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/crypto
- src/mongo/db/modules/enterprise/src/audit
- src/mongo/db/modules/enterprise/src/encryptdb
- src/mongo/db/modules/enterprise/src/fips
- src/mongo/db/modules/enterprise/src/kerberos
- src/mongo/db/modules/enterprise/src/kmip
- src/mongo/db/modules/enterprise/src/ldap
- src/mongo/db/modules/enterprise/src/sasl
router_role:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/s/
shard_role:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/s/
- src/mongo/db/service_entry_point_shard_role[._]*
data_movement:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/s/migration* # note the filename pattern
- src/mongo/db/s/resharding
logging:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/logv2/
networking:
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/rpc/
- src/mongo/util/net
- src/mongo/transport
timeseries_bucket_catalog: # authoritative: @10gen/server-timeseries-bucket-catalog
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/timeseries/bucket_catalog
collection_write_path: # authoritative: @10gen/server-collection-write-path
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/collection_crud
- src/mongo/db/timeseries # excluding ./bucket_catalog
- src/mongo/db/commands/collection_to_capped* # specific files
bsoncolumn: # authoritative: @10gen/server-bsoncolumn
meta:
slack: TODO
jira: TODO
files:
- src/mongo/bson/util/bsonobj_traversal.h
- src/mongo/bson/column
external_sorter: # authoritative: @10gen/server-external-sorter
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/sorter
index_builds: # authoritative: @10gen/server-index-builds
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/index_builds
- src/mongo/db/index/index_access_methods* # specific files
- src/mongo/db/catalog/index_key_validate* # specific files
- src/mongo/db/catalog/index_spec_validate* # specific files
- src/mongo/db/commands/create_indexes* # specific files
- src/mongo/db/commands/set_index_commit_quorum* # specific files
- src/mongo/db/commands/vote*index_build* # specific files
- src/mongo/dbtests/indexupdatetests.cpp # specific file
key_string: # authoritative: @10gen/server-key-string
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/storage/key_string
storage_engine_integration: # authoritative: @10gen/server-storage-engine-integration
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/storage # excluding ./key_string
- src/mongo/db/record_id* # specific files
- src/mongo/db/repair* # specific files
- src/mongo/db/prepare_conflict_tracker* # specific files
- src/mongo/db/server_recovery* # specific files
- src/mongo/db/mongod_options_storage.idl # specific file
- src/mongo/db/dbhelpers* # specific files
- src/mongo/db/dbcommands.idl # specific file
- src/mongo/db/catalog/import* # specific files
- src/mongo/db/catalog/index_repair* # specific files
- src/mongo/db/commands/fsync* # specific files
- src/mongo/db/commands/dbcommands* # specific files
- src/mongo/db/commands/resize_oplog* # specific files
- src/mongo/db/op_observer/batched_write* # specific files
- src/mongo/db/stats/storage_stats* # specific files
- src/mongo/db/stats/*resource_consumption* # specific files
- src/mongo/dbtests/storage_debug_util* # specific files
validate: # authoritative: @10gen/server-validate
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/catalog/collection_validation* # specific files
- src/mongo/db/catalog/throttle_cursor* # specific files
- src/mongo/db/commands/validate.cpp # specific file
- src/mongo/db/validate
- src/mongo/dbtests/validate.cpp # specific file
dbcheck: # authoritative: @10gen/server-dbcheck
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/catalog/health_log* # specific files
- src/mongo/db/commands/dbcheck* # specific files
- src/mongo/db/concurrency/deferred_writer* # specific files
- src/mongo/db/repl/dbcheck* # specific files
ttl: # authoritative: @10gen/server-ttl
meta:
slack: TODO
jira: TODO
files:
- src/mongo/db/ttl
tracking_allocators: # authoritative: @10gen/server-tracking-allocators
meta:
slack: TODO
jira: TODO
files:
- src/mongo/util/tracking
atlas-streams:
meta:
slack: streams-engine
jira: Atlas Streams
files:
- src/mongo/db/modules/enterprise/src/streams
# This module doesn't really exist. It's files are only compiled on windows, and we don't
# run the mod_scanner on a windows build. However, it is needed to ensure that all first-party
# C++ files are assigned to a module. It should be a dependency island anyway.
installer:
files:
- src/mongo/installer/