From 1956d588c5430dd9064608c6200f574d41c3a5d5 Mon Sep 17 00:00:00 2001 From: Mihai Andrei Date: Mon, 9 Dec 2024 11:35:17 -0500 Subject: [PATCH] SERVER-92880 Tag more jstests as owned by query (#29826) GitOrigin-RevId: 85cc9997a93019158ec027f02fe66d4e76ea21af --- .github/CODEOWNERS | 281 ++++++++++++++---- ...router_local_read_write_multi_stmt_txn.yml | 2 +- ...ead_write_multi_stmt_txn_with_balancer.yml | 2 +- ...urrency_embedded_router_multi_stmt_txn.yml | 2 +- ...ed_router_multi_stmt_txn_with_balancer.yml | 2 +- .../suites/bulk_write_targeted_override.yml | 44 +-- ...concurrency_replication_multi_stmt_txn.yml | 2 +- ...lti_stmt_txn_with_replica_set_endpoint.yml | 2 +- ...harded_local_read_write_multi_stmt_txn.yml | 2 +- ...ead_write_multi_stmt_txn_with_balancer.yml | 2 +- .../concurrency_sharded_multi_stmt_txn.yml | 2 +- ...mt_txn_stepdown_terminate_kill_primary.yml | 2 +- ...y_sharded_multi_stmt_txn_with_balancer.yml | 2 +- ...n_with_balancer_and_config_transitions.yml | 2 +- .../suites/sharding_clustered_collections.yml | 2 +- ...arding_csrs_continuous_config_stepdown.yml | 18 +- .../timeseries_crud_jscore_passthrough.yml | 3 +- ...kports_required_for_multiversion_tests.yml | 22 +- etc/test_retrial.yml | 4 +- jstests/change_streams/OWNERS.yml | 2 +- jstests/concurrency/fsm_workloads/OWNERS.yml | 2 +- .../fsm_workloads/query/OWNERS.yml | 7 +- .../{ => query}/drop_index_during_replan.js | 0 .../fsm_workloads/query/explain/OWNERS.yml | 2 +- .../fsm_workloads/query/map_reduce/OWNERS.yml | 2 +- .../fsm_workloads/query/remove/OWNERS.yml | 2 +- .../fsm_workloads/query/update/OWNERS.yml | 2 +- .../fsm_workloads/query/yield/OWNERS.yml | 2 +- .../updateOne_without_shard_key/OWNERS.yml | 2 +- .../OWNERS.yml | 5 + jstests/core/OWNERS.yml | 9 + .../core/administrative/current_op/OWNERS.yml | 5 + .../compound_wildcard_index_validation.js | 0 jstests/core/query/OWNERS.yml | 2 +- jstests/core/query/api/OWNERS.yml | 2 +- jstests/core/query/collation/OWNERS.yml | 2 +- jstests/core/query/doc_validation/OWNERS.yml | 2 +- jstests/core/query/explain/OWNERS.yml | 2 +- jstests/core/query/inc/OWNERS.yml | 2 +- .../{ => query/map_reduce}/constructors.js | 0 jstests/core/query/plan_cache/OWNERS.yml | 2 +- jstests/core/query/pull/OWNERS.yml | 2 +- jstests/core/query/push/OWNERS.yml | 2 +- jstests/core/query/query_settings/OWNERS.yml | 2 +- jstests/core/query/regex/OWNERS.yml | 2 +- jstests/core/query/sbe/OWNERS.yml | 7 +- jstests/core/query/set/OWNERS.yml | 2 +- jstests/core/query/unset/OWNERS.yml | 2 +- jstests/core/write/OWNERS.yml | 2 +- jstests/core/{ => write}/noop_writes.js | 0 jstests/decimal/OWNERS.yml | 6 + jstests/hooks/OWNERS.yml | 3 + jstests/libs/OWNERS.yml | 43 +++ jstests/libs/config_files/OWNERS.yml | 5 + .../config_files/bad_timezone_info/OWNERS.yml | 5 + .../good_timezone_info_fat/OWNERS.yml | 5 + .../good_timezone_info_slim/OWNERS.yml | 5 + jstests/libs/override_methods/OWNERS.yml | 29 +- jstests/libs/property_test_helpers/OWNERS.yml | 5 + jstests/libs/query/OWNERS.yml | 10 +- .../multiVersion/genericBinVersion/OWNERS.yml | 11 + .../genericChangeStreams/OWNERS.yml | 5 + .../genericSetFCVUsage/OWNERS.yml | 8 + .../targetedTestsLastLtsFeatures/OWNERS.yml | 8 + jstests/noPassthrough/api_version/OWNERS.yml | 5 + .../api_version_2_commands.js | 0 .../{ => api_version}/api_version_metrics.js | 0 .../api_version_parameters_shell.js | 0 .../{ => api_version}/require_api_version.js | 0 .../server_stats_api_versions_limit.js | 0 jstests/noPassthrough/crud/OWNERS.yml | 9 + jstests/noPassthrough/libs/OWNERS.yml | 3 + jstests/noPassthrough/query/OWNERS.yml | 49 ++- ...urable_memory_limits_array_accumulators.js | 0 .../{ => query/agg}/aggr_operationstats.js | 0 .../{ => query}/analyze_command.js | 0 .../{ => query}/analyze_with_sampling.js | 0 .../query/change_streams/OWNERS.yml | 2 +- .../change_collection_can_be_inconsistent.js | 0 .../change_stream_primary_rollback.js | 0 .../cluster_analyze_command.js | 0 .../commands_preserve_exec_error_code.js | 0 .../noPassthrough/{ => query}/compute_mode.js | 0 .../noPassthrough/query/current_op/OWNERS.yml | 8 + .../current_op}/currentop_active_cursor.js | 0 .../currentop_includes_await_time.js | 0 .../{ => query/current_op}/currentop_query.js | 0 .../current_op}/currentop_target_all_nodes.js | 0 .../deterministic_set_window_fields_knob.js | 0 .../noPassthrough/query/explain/OWNERS.yml | 2 +- .../cluster_explain_commands_not_supported.js | 0 ...ain_and_profile_optimization_stats_util.js | 0 .../explain/explain_optimization_stats.js | 2 +- .../{ => query}/external_data_source.bson | Bin .../{ => query}/external_data_source.js | 12 +- .../{ => query}/external_sort_find.js | 0 ...ail_point_getmore_after_cursor_checkout.js | 0 .../{ => query}/fast_path_counters.js | 0 jstests/noPassthrough/query/js/OWNERS.yml | 8 + .../js}/deprecated_serverside_js.js | 0 .../js}/expression_function_kill.js | 0 .../{ => query/js}/javascript_options.js | 0 .../{ => query/js}/jsHeapLimit.js | 0 .../{ => query/js}/js_protection.js | 0 .../{ => query/js}/js_protection_roundtrip.js | 0 .../{ => query}/kill_pinned_cursor.js | 0 .../{ => query}/missing_shard_key.js | 0 .../query/multiplanner/OWNERS.yml | 2 +- .../do_not_drop_coll_after_succesful_out.js | 0 .../{ => query}/parse_zone_info.js | 0 .../noPassthrough/query/plan_cache/OWNERS.yml | 2 +- .../latency_includes_lock_acquisition_time.js | 0 .../profile}/profile_planning_time_stats.js | 2 +- .../allow_disk_use_false_counter.js | 0 .../cursor_server_status_metrics_sharded.js | 0 .../server_status_metrics_exclusion.js | 0 jstests/noPassthrough/query/update/OWNERS.yml | 2 +- jstests/noPassthrough/query/yield/OWNERS.yml | 5 +- .../agg_yielding_during_runtime_planning.js | 0 .../{ => query/yield}/child_op_numyields.js | 0 .../fall_off_capped_collection_yielding.js | 0 .../yield}/interrupt_while_yielded.js | 0 .../noPassthroughWithMongod/bulk/OWNERS.yml | 2 +- .../noPassthroughWithMongod/capped/OWNERS.yml | 3 + .../cursor_server_status_metrics/OWNERS.yml | 5 + .../noPassthroughWithMongod/query/OWNERS.yml | 8 +- .../{ => query}/cbr_infrastructure.js | 0 .../query/explain/OWNERS.yml | 2 +- .../{ => query}/external_sort_text_agg.js | 0 .../query/sbe/OWNERS.yml | 2 +- .../noPassthroughWithMongod/write/OWNERS.yml | 2 +- jstests/product_limits/OWNERS.yml | 5 + jstests/query_golden/OWNERS.yml | 2 +- jstests/query_golden_sharding/OWNERS.yml | 2 +- jstests/serial_run/OWNERS.yml | 8 + jstests/serverless/change_streams/OWNERS.yml | 5 + .../change_stream_state_commands.js | 0 .../change_streams_cluster_parameter.js | 0 .../sharded_change_stream_state_commands.js | 0 jstests/sharding/libs/OWNERS.yml | 6 + jstests/sharding/query/OWNERS.yml | 40 ++- jstests/sharding/query/agg/OWNERS.yml | 23 ++ .../agg}/error_during_agg_getmore.js | 0 jstests/sharding/query/api_version/OWNERS.yml | 5 + .../api_params_nontransaction_sharded.js | 0 .../api_params_nontransaction_unsharded.js | 0 .../api_params_transaction_sharded.js | 0 .../api_params_transaction_unsharded.js | 0 .../api_version_stage_allowance_checks.js | 0 .../api_version_test_expression.js | 0 .../insert_api_version_consistency.js | 0 jstests/sharding/{ => query}/authwhere.js | 0 .../batch_write_command_sharded.js | 0 .../sharding/{ => query}/bulk_write_basic.js | 0 .../{ => query}/bulk_write_size_limit.js | 0 .../sharding/query/change_streams/OWNERS.yml | 2 +- .../change_streams}/oplog_document_key.js | 0 .../{ => query}/clustered_coll_scan.js | 0 jstests/sharding/query/collation/OWNERS.yml | 2 +- jstests/sharding/query/count/OWNERS.yml | 5 + .../count}/accurate_count_with_predicate.js | 0 .../sharding/{ => query}/empty_doc_results.js | 0 .../{ => query}/exact_shard_key_target.js | 0 jstests/sharding/query/explain/OWNERS.yml | 2 +- .../explain_find_transformed_query.js | 0 ...rimary_error_does_not_leak_shard_cursor.js | 0 .../{ => query}/log_remote_op_wait.js | 0 .../log_remote_op_wait_for_other_commands.js | 0 .../lookup_from_config_cache_chunks.js | 0 .../sharding/{ => query/map_reduce}/authmr.js | 0 .../{ => query}/multi_write_target.js | 0 .../sharding/{ => query}/shard_targeting.js | 0 jstests/sharding/{ => query}/stats.js | 0 .../{ => query}/unowned_doc_filtering.js | 0 jstests/sharding/query/update/OWNERS.yml | 2 +- .../update}/multi_update_orphan_shard_key.js | 0 .../stale_mongos_updates_and_removes.js | 0 .../update}/update_compound_shard_key.js | 0 .../update}/update_immutable_fields.js | 0 .../update}/update_shard_key_bulk_write.js | 0 .../update_shard_key_conflicting_writes.js | 0 .../update_shard_key_doc_moves_shards.js | 0 .../update_shard_key_doc_on_same_shard.js | 0 .../update_shard_key_pipeline_update.js | 0 .../{ => query/update}/upsert_sharded.js | 0 .../{ => query}/update_delete_many_metrics.js | 0 .../wildcard_index_banned_for_shard_key.js | 0 jstests/sharding/timeseries/OWNERS.yml | 32 ++ .../{ => timeseries}/timeseries_balancer.js | 0 .../timeseries_buckets_find_and_modify.js | 0 ...timeseries_buckets_modification_with_id.js | 0 .../timeseries_change_stream_no_orphans.js | 0 .../timeseries_cluster_collstats.js | 0 .../timeseries_cluster_indexstats.js | 0 .../{ => timeseries}/timeseries_coll_mod.js | 0 ...imeseries_coll_mod_bucketing_parameters.js | 0 .../timeseries_delete_multi.js | 0 .../timeseries_delete_one_with_shard_key.js | 0 ...timeseries_delete_one_without_shard_key.js | 0 .../timeseries_delete_with_meta.js | 0 .../{ => timeseries}/timeseries_drop.js | 0 .../timeseries_find_and_modify_remove.js | 0 .../timeseries_find_and_modify_update.js | 0 .../{ => timeseries}/timeseries_indexes.js | 0 .../{ => timeseries}/timeseries_insert.js | 0 .../timeseries_insert_move_collection.js | 0 ...ies_insert_targeting_normalize_metadata.js | 0 .../timeseries_multiple_mongos.js | 0 .../timeseries_orphan_buckets.js | 0 ...ries_out_conflicting_namespace_on_shard.js | 0 .../timeseries_out_sharded.js | 0 .../{ => timeseries}/timeseries_query.js | 0 .../timeseries_query_extended_range.js | 0 ...ies_retry_delete_and_update_multi_shard.js | 0 ...es_retry_delete_and_update_single_shard.js | 0 ...eries_retry_delete_and_update_unsharded.js | 0 .../timeseries_shard_collection.js | 0 ...ard_collection_with_deprecation_message.js | 0 .../timeseries_sharding_admin_commands.js | 0 .../timeseries_shardkey_update.js | 0 .../timeseries_time_value_rounding.js | 0 .../{ => timeseries}/timeseries_update.js | 0 .../timeseries_update_multi.js | 0 .../timeseries_update_multi_explain.js | 0 .../timeseries_update_normalize_metadata.js | 0 .../{ => timeseries}/timeseries_update_one.js | 0 .../timeseries_update_routing.js | 0 .../{ => timeseries}/timeseries_upsert.js | 0 ...timeseries_user_system_buckets_sharding.js | 0 ...meseries_write_one_stale_sharding_state.js | 0 ..._key_single_shard_data_placement_change.js | 0 .../updateOne_without_shard_key/OWNERS.yml | 2 +- jstests/slow1/OWNERS.yml | 8 + jstests/third_party/fast_check/OWNERS.yml | 5 + 234 files changed, 726 insertions(+), 190 deletions(-) rename jstests/concurrency/fsm_workloads/{ => query}/drop_index_during_replan.js (100%) create mode 100644 jstests/concurrency/fsm_workloads_no_passthrough_with_mongod/OWNERS.yml create mode 100644 jstests/core/administrative/current_op/OWNERS.yml rename jstests/core/{ => index/wildcard}/compound_wildcard_index_validation.js (100%) rename jstests/core/{ => query/map_reduce}/constructors.js (100%) rename jstests/core/{ => write}/noop_writes.js (100%) create mode 100644 jstests/libs/config_files/OWNERS.yml create mode 100644 jstests/libs/config_files/bad_timezone_info/OWNERS.yml create mode 100644 jstests/libs/config_files/good_timezone_info_fat/OWNERS.yml create mode 100644 jstests/libs/config_files/good_timezone_info_slim/OWNERS.yml create mode 100644 jstests/libs/property_test_helpers/OWNERS.yml create mode 100644 jstests/multiVersion/genericBinVersion/OWNERS.yml create mode 100644 jstests/multiVersion/genericChangeStreams/OWNERS.yml create mode 100644 jstests/multiVersion/genericSetFCVUsage/OWNERS.yml create mode 100644 jstests/multiVersion/targetedTestsLastLtsFeatures/OWNERS.yml create mode 100644 jstests/noPassthrough/api_version/OWNERS.yml rename jstests/noPassthrough/{ => api_version}/api_version_2_commands.js (100%) rename jstests/noPassthrough/{ => api_version}/api_version_metrics.js (100%) rename jstests/noPassthrough/{ => api_version}/api_version_parameters_shell.js (100%) rename jstests/noPassthrough/{ => api_version}/require_api_version.js (100%) rename jstests/noPassthrough/{ => api_version}/server_stats_api_versions_limit.js (100%) rename jstests/noPassthrough/{ => query/agg}/agg_configurable_memory_limits_array_accumulators.js (100%) rename jstests/noPassthrough/{ => query/agg}/aggr_operationstats.js (100%) rename jstests/noPassthrough/{ => query}/analyze_command.js (100%) rename jstests/noPassthrough/{ => query}/analyze_with_sampling.js (100%) rename jstests/noPassthrough/{ => query/change_streams}/change_collection_can_be_inconsistent.js (100%) rename jstests/noPassthrough/{ => query/change_streams}/change_stream_primary_rollback.js (100%) rename jstests/noPassthrough/{architecture => query}/cluster_analyze_command.js (100%) rename jstests/noPassthrough/{ => query}/commands_preserve_exec_error_code.js (100%) rename jstests/noPassthrough/{ => query}/compute_mode.js (100%) create mode 100644 jstests/noPassthrough/query/current_op/OWNERS.yml rename jstests/noPassthrough/{ => query/current_op}/currentop_active_cursor.js (100%) rename jstests/noPassthrough/{ => query/current_op}/currentop_includes_await_time.js (100%) rename jstests/noPassthrough/{ => query/current_op}/currentop_query.js (100%) rename jstests/noPassthrough/{ => query/current_op}/currentop_target_all_nodes.js (100%) rename jstests/noPassthrough/{ => query}/deterministic_set_window_fields_knob.js (100%) rename jstests/noPassthrough/{ => query/explain}/cluster_explain_commands_not_supported.js (100%) rename jstests/noPassthrough/{ => query/explain}/explain_and_profile_optimization_stats_util.js (100%) rename jstests/noPassthrough/{ => query}/external_data_source.bson (100%) rename jstests/noPassthrough/{ => query}/external_data_source.js (98%) rename jstests/noPassthrough/{ => query}/external_sort_find.js (100%) rename jstests/noPassthrough/{ => query}/fail_point_getmore_after_cursor_checkout.js (100%) rename jstests/noPassthrough/{ => query}/fast_path_counters.js (100%) create mode 100644 jstests/noPassthrough/query/js/OWNERS.yml rename jstests/noPassthrough/{ => query/js}/deprecated_serverside_js.js (100%) rename jstests/noPassthrough/{ => query/js}/expression_function_kill.js (100%) rename jstests/noPassthrough/{ => query/js}/javascript_options.js (100%) rename jstests/noPassthrough/{ => query/js}/jsHeapLimit.js (100%) rename jstests/noPassthrough/{ => query/js}/js_protection.js (100%) rename jstests/noPassthrough/{ => query/js}/js_protection_roundtrip.js (100%) rename jstests/noPassthrough/{ => query}/kill_pinned_cursor.js (100%) rename jstests/noPassthrough/{ => query}/missing_shard_key.js (100%) rename jstests/noPassthrough/{ => query/out_merge}/do_not_drop_coll_after_succesful_out.js (100%) rename jstests/noPassthrough/{ => query}/parse_zone_info.js (100%) rename jstests/noPassthrough/{ => query/profile}/latency_includes_lock_acquisition_time.js (100%) rename jstests/noPassthrough/{ => query/profile}/profile_planning_time_stats.js (99%) rename jstests/noPassthrough/{ => query/server_status}/allow_disk_use_false_counter.js (100%) rename jstests/noPassthrough/{ => query/server_status}/cursor_server_status_metrics_sharded.js (100%) rename jstests/noPassthrough/{ => query/server_status}/server_status_metrics_exclusion.js (100%) rename jstests/noPassthrough/{ => query/yield}/agg_yielding_during_runtime_planning.js (100%) rename jstests/noPassthrough/{ => query/yield}/child_op_numyields.js (100%) rename jstests/noPassthrough/{ => query/yield}/fall_off_capped_collection_yielding.js (100%) rename jstests/noPassthrough/{ => query/yield}/interrupt_while_yielded.js (100%) create mode 100644 jstests/noPassthroughWithMongod/cursor_server_status_metrics/OWNERS.yml rename jstests/noPassthroughWithMongod/{ => query}/cbr_infrastructure.js (100%) rename jstests/noPassthroughWithMongod/{ => query}/external_sort_text_agg.js (100%) create mode 100644 jstests/product_limits/OWNERS.yml create mode 100644 jstests/serial_run/OWNERS.yml create mode 100644 jstests/serverless/change_streams/OWNERS.yml rename jstests/serverless/{ => change_streams}/change_stream_state_commands.js (100%) rename jstests/serverless/{ => change_streams}/change_streams_cluster_parameter.js (100%) rename jstests/serverless/{ => change_streams}/sharded_change_stream_state_commands.js (100%) create mode 100644 jstests/sharding/query/agg/OWNERS.yml rename jstests/sharding/{ => query/agg}/error_during_agg_getmore.js (100%) create mode 100644 jstests/sharding/query/api_version/OWNERS.yml rename jstests/sharding/{ => query/api_version}/api_params_nontransaction_sharded.js (100%) rename jstests/sharding/{ => query/api_version}/api_params_nontransaction_unsharded.js (100%) rename jstests/sharding/{ => query/api_version}/api_params_transaction_sharded.js (100%) rename jstests/sharding/{ => query/api_version}/api_params_transaction_unsharded.js (100%) rename jstests/sharding/{ => query/api_version}/api_version_stage_allowance_checks.js (100%) rename jstests/sharding/{ => query/api_version}/api_version_test_expression.js (100%) rename jstests/sharding/{ => query/api_version}/insert_api_version_consistency.js (100%) rename jstests/sharding/{ => query}/authwhere.js (100%) rename jstests/sharding/{ => query}/batch_write_command_sharded.js (100%) rename jstests/sharding/{ => query}/bulk_write_basic.js (100%) rename jstests/sharding/{ => query}/bulk_write_size_limit.js (100%) rename jstests/sharding/{ => query/change_streams}/oplog_document_key.js (100%) rename jstests/sharding/{ => query}/clustered_coll_scan.js (100%) create mode 100644 jstests/sharding/query/count/OWNERS.yml rename jstests/sharding/{ => query/count}/accurate_count_with_predicate.js (100%) rename jstests/sharding/{ => query}/empty_doc_results.js (100%) rename jstests/sharding/{ => query}/exact_shard_key_target.js (100%) rename jstests/sharding/{ => query/explain}/explain_find_transformed_query.js (100%) rename jstests/sharding/{ => query}/is_not_primary_error_does_not_leak_shard_cursor.js (100%) rename jstests/sharding/{ => query}/log_remote_op_wait.js (100%) rename jstests/sharding/{ => query}/log_remote_op_wait_for_other_commands.js (100%) rename jstests/sharding/{ => query}/lookup_from_config_cache_chunks.js (100%) rename jstests/sharding/{ => query/map_reduce}/authmr.js (100%) rename jstests/sharding/{ => query}/multi_write_target.js (100%) rename jstests/sharding/{ => query}/shard_targeting.js (100%) rename jstests/sharding/{ => query}/stats.js (100%) rename jstests/sharding/{ => query}/unowned_doc_filtering.js (100%) rename jstests/sharding/{ => query/update}/multi_update_orphan_shard_key.js (100%) rename jstests/sharding/{ => query/update}/stale_mongos_updates_and_removes.js (100%) rename jstests/sharding/{ => query/update}/update_compound_shard_key.js (100%) rename jstests/sharding/{ => query/update}/update_immutable_fields.js (100%) rename jstests/sharding/{ => query/update}/update_shard_key_bulk_write.js (100%) rename jstests/sharding/{ => query/update}/update_shard_key_conflicting_writes.js (100%) rename jstests/sharding/{ => query/update}/update_shard_key_doc_moves_shards.js (100%) rename jstests/sharding/{ => query/update}/update_shard_key_doc_on_same_shard.js (100%) rename jstests/sharding/{ => query/update}/update_shard_key_pipeline_update.js (100%) rename jstests/sharding/{ => query/update}/upsert_sharded.js (100%) rename jstests/sharding/{ => query}/update_delete_many_metrics.js (100%) rename jstests/sharding/{ => query}/wildcard_index_banned_for_shard_key.js (100%) create mode 100644 jstests/sharding/timeseries/OWNERS.yml rename jstests/sharding/{ => timeseries}/timeseries_balancer.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_buckets_find_and_modify.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_buckets_modification_with_id.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_change_stream_no_orphans.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_cluster_collstats.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_cluster_indexstats.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_coll_mod.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_coll_mod_bucketing_parameters.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_delete_multi.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_delete_one_with_shard_key.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_delete_one_without_shard_key.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_delete_with_meta.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_drop.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_find_and_modify_remove.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_find_and_modify_update.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_indexes.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_insert.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_insert_move_collection.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_insert_targeting_normalize_metadata.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_multiple_mongos.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_orphan_buckets.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_out_conflicting_namespace_on_shard.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_out_sharded.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_query.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_query_extended_range.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_retry_delete_and_update_multi_shard.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_retry_delete_and_update_single_shard.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_retry_delete_and_update_unsharded.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_shard_collection.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_shard_collection_with_deprecation_message.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_sharding_admin_commands.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_shardkey_update.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_time_value_rounding.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_update.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_update_multi.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_update_multi_explain.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_update_normalize_metadata.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_update_one.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_update_routing.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_upsert.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_user_system_buckets_sharding.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_write_one_stale_sharding_state.js (100%) rename jstests/sharding/{ => timeseries}/timeseries_writes_without_shard_key_single_shard_data_placement_change.js (100%) create mode 100644 jstests/slow1/OWNERS.yml create mode 100644 jstests/third_party/fast_check/OWNERS.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index aaf3d6422f6..cde645e9480 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -186,7 +186,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/auth/**/* @10gen/server-security @svc-auto-approve-bot # The following patterns are parsed from ./jstests/change_streams/OWNERS.yml -/jstests/change_streams/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/change_streams/**/* @10gen/query-execution-change-streams @svc-auto-approve-bot # The following patterns are parsed from ./jstests/client_encrypt/OWNERS.yml /jstests/client_encrypt/**/* @10gen/query-integration-fle @svc-auto-approve-bot @@ -195,7 +195,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/concurrency/fsm_libs/**/reshard_collection_util.js @10gen/server-cluster-scalability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/OWNERS.yml -/jstests/concurrency/fsm_workloads/**/*write_without_shard_key* @10gen/query-execution @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/**/*write_without_shard_key* @10gen/query-execution-router-write-exec @svc-auto-approve-bot /jstests/concurrency/fsm_workloads/**/timeseries* @10gen/server-storage-execution @svc-auto-approve-bot /jstests/concurrency/fsm_workloads/**/timeseries_agg* @10gen/query-integration @svc-auto-approve-bot /jstests/concurrency/fsm_workloads/**/timeseries_deletes_and_inserts.js @10gen/query-integration @svc-auto-approve-bot @@ -221,30 +221,31 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/OWNERS.yml /jstests/concurrency/fsm_workloads/query/**/* @10gen/query @svc-auto-approve-bot -/jstests/concurrency/fsm_workloads/query/**/find_flip_sbe_enabled.js @10gen/query-execution @svc-auto-approve-bot -/jstests/concurrency/fsm_workloads/query/**/plan_cache_drop_database.js @10gen/query-optimization @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/**/find_flip_sbe_enabled.js @10gen/query-execution-sbe @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/**/plan_cache_drop_database.js @10gen/query-optimization-plan-cache @svc-auto-approve-bot /jstests/concurrency/fsm_workloads/query/**/profile_command.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/**/drop_index_during_replan.js @10gen/query-optimization-runtime-planners @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/explain/OWNERS.yml -/jstests/concurrency/fsm_workloads/query/explain/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/explain/**/* @10gen/query-optimization-explain @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/map_reduce/OWNERS.yml -/jstests/concurrency/fsm_workloads/query/map_reduce/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/map_reduce/**/* @10gen/query-integration-staff-leads @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/query_stats/OWNERS.yml /jstests/concurrency/fsm_workloads/query/query_stats/**/* @10gen/query-integration-query-stats @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/remove/OWNERS.yml -/jstests/concurrency/fsm_workloads/query/remove/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/remove/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/timeseries/OWNERS.yml /jstests/concurrency/fsm_workloads/query/timeseries/**/* @10gen/query-integration-timeseries @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/update/OWNERS.yml -/jstests/concurrency/fsm_workloads/query/update/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/update/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/query/yield/OWNERS.yml -/jstests/concurrency/fsm_workloads/query/yield/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/query/yield/**/* @10gen/query-execution-yielding @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/server_status/OWNERS.yml /jstests/concurrency/fsm_workloads/server_status/**/* @10gen/server-networking-and-observability @svc-auto-approve-bot @@ -265,11 +266,14 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/concurrency/fsm_workloads/txns/multi_statement_transaction/**/* @10gen/server-cluster-scalability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/updateOne_without_shard_key/OWNERS.yml -/jstests/concurrency/fsm_workloads/updateOne_without_shard_key/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/concurrency/fsm_workloads/updateOne_without_shard_key/**/* @10gen/query-execution-router-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/concurrency/fsm_workloads/view_catalog/OWNERS.yml /jstests/concurrency/fsm_workloads/view_catalog/**/* @10gen/server-catalog-and-routing @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/concurrency/fsm_workloads_no_passthrough_with_mongod/OWNERS.yml +/jstests/concurrency/fsm_workloads_no_passthrough_with_mongod/**/external_data_source.js @10gen/query-integration-analytic-extensions @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/core/OWNERS.yml /jstests/core/**/connection_string_validation.js @10gen/server-networking-and-observability @svc-auto-approve-bot /jstests/core/**/hostinfo.js @10gen/server-networking-and-observability @svc-auto-approve-bot @@ -278,6 +282,12 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/core/capped/* @10gen/server-storage-execution @svc-auto-approve-bot /jstests/core/clustered/* @10gen/server-storage-execution @svc-auto-approve-bot /jstests/core/**/splitvector.js @10gen/server-cluster-scalability @svc-auto-approve-bot +/jstests/core/**/opcounters_write_cmd.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/core/**/operation_latency_histogram.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/core/**/version_api* @10gen/query-optimization-parsers @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/core/administrative/current_op/OWNERS.yml +/jstests/core/administrative/current_op/**/* @10gen/query-integration-observability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/administrative/profile/OWNERS.yml /jstests/core/administrative/profile/**/* @10gen/query-integration @svc-auto-approve-bot @@ -299,28 +309,28 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/OWNERS.yml /jstests/core/query/**/* @10gen/query @svc-auto-approve-bot -/jstests/core/query/**/boolean_expression_simplification.js @10gen/query-optimization @svc-auto-approve-bot +/jstests/core/query/**/boolean_expression_simplification.js @10gen/query-optimization-heuristic-rewrite @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/api/OWNERS.yml -/jstests/core/query/api/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/core/query/api/**/* @10gen/query-optimization-parsers @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/collation/OWNERS.yml -/jstests/core/query/collation/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/collation/**/* @10gen/query-execution-collation @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/collstats/OWNERS.yml /jstests/core/query/collstats/**/* @10gen/query-integration-observability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/doc_validation/OWNERS.yml -/jstests/core/query/doc_validation/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/doc_validation/**/* @10gen/query-execution-doc-validation @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/explain/OWNERS.yml -/jstests/core/query/explain/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/core/query/explain/**/* @10gen/query-optimization-explain @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/geo/OWNERS.yml /jstests/core/query/geo/**/* @10gen/query-integration-geo @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/inc/OWNERS.yml -/jstests/core/query/inc/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/inc/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/js/OWNERS.yml /jstests/core/query/js/**/* @10gen/query-integration-javascript @svc-auto-approve-bot @@ -332,36 +342,35 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/core/query/map_reduce/**/* @10gen/query-integration-staff-leads @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/plan_cache/OWNERS.yml -/jstests/core/query/plan_cache/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/core/query/plan_cache/**/* @10gen/query-optimization-plan-cache @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/pull/OWNERS.yml -/jstests/core/query/pull/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/pull/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/push/OWNERS.yml -/jstests/core/query/push/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/push/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/query_settings/OWNERS.yml -/jstests/core/query/query_settings/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/query_settings/**/* @10gen/query-execution-query-settings @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/queryable_encryption/OWNERS.yml /jstests/core/query/queryable_encryption/**/* @10gen/query-integration-fle @10gen/server-security @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/regex/OWNERS.yml -/jstests/core/query/regex/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/regex/**/* @10gen/query-execution-regex @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/sbe/OWNERS.yml -/jstests/core/query/sbe/**/* @10gen/query-execution @svc-auto-approve-bot -/jstests/core/query/sbe/**/from_plan_cache_flag.js @10gen/query-optimization @svc-auto-approve-bot -/jstests/core/query/sbe/**/*plan_cache* @10gen/query-optimization @svc-auto-approve-bot +/jstests/core/query/sbe/**/* @10gen/query-execution-sbe @svc-auto-approve-bot +/jstests/core/query/sbe/**/*plan_cache* @10gen/query-optimization-plan-cache @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/set/OWNERS.yml -/jstests/core/query/set/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/set/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/top/OWNERS.yml /jstests/core/query/top/**/* @10gen/query-integration-observability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/unset/OWNERS.yml -/jstests/core/query/unset/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/query/unset/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/query/where/OWNERS.yml /jstests/core/query/where/**/* @10gen/query-integration-staff-leads @svc-auto-approve-bot @@ -405,7 +414,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/core/views/**/* @10gen/server-catalog-and-routing @svc-auto-approve-bot # The following patterns are parsed from ./jstests/core/write/OWNERS.yml -/jstests/core/write/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/core/write/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot /jstests/core/write/**/*empty_ts*.js @10gen/server-collection-write-path @svc-auto-approve-bot /jstests/core/write/**/autoid.js @10gen/server-collection-write-path @svc-auto-approve-bot /jstests/core/write/**/validate_user_documents.js @10gen/server-collection-write-path @svc-auto-approve-bot @@ -449,6 +458,8 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/decimal/OWNERS.yml /jstests/decimal/**/* @10gen/server-programmability @svc-auto-approve-bot +/jstests/decimal/**/decimal_find* @10gen/query-execution @svc-auto-approve-bot +/jstests/decimal/**/decimal_update.js @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/disk/OWNERS.yml /jstests/disk/**/* @10gen/server-rss-sydney @svc-auto-approve-bot @@ -461,6 +472,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/hooks/OWNERS.yml /jstests/hooks/**/run_analyze_shard_key_background.js @10gen/server-cluster-scalability @svc-auto-approve-bot +/jstests/hooks/**/run_enable_change_stream.js @10gen/query-execution-change-streams @svc-auto-approve-bot # The following patterns are parsed from ./jstests/httpinterface/OWNERS.yml /jstests/httpinterface/**/network_options.js @10gen/server-networking-and-observability @svc-auto-approve-bot @@ -469,21 +481,59 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/libs/**/replsettest.js @10gen/server-replication @svc-auto-approve-bot /jstests/libs/**/shardingtest.js @10gen/server-cluster-scalability @svc-auto-approve-bot /jstests/libs/**/*golden_test.js @10gen/query-optimization @svc-auto-approve-bot -/jstests/libs/**/sharded_cluster_fixture_helpers.js @10gen/server-catalog-and-routing @svc-auto-approve-bot +/jstests/libs/**/sharded_cluster_fixture_helpers.js @10gen/query-optimization-golden-test @10gen/server-catalog-and-routing @svc-auto-approve-bot +/jstests/libs/**/assert_schema_match.js @10gen/query-execution-doc-validation @svc-auto-approve-bot +/jstests/libs/**/doc_validation_utils.js @10gen/query-execution-doc-validation @svc-auto-approve-bot +/jstests/libs/**/json_schema_test_runner.js @10gen/query-execution-doc-validation @svc-auto-approve-bot +/jstests/libs/**/*bulk_write* @10gen/query-execution-write-exec @svc-auto-approve-bot +/jstests/libs/**/curop_helpers.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/libs/**/dateutil.js @10gen/query-execution-datetime @svc-auto-approve-bot +/jstests/libs/**/fts.js @10gen/query-integration-staff-leads @svc-auto-approve-bot +/jstests/libs/**/local_reads.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/libs/**/pin_getmore_cursor.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/libs/**/profiler.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/libs/**/stats.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/libs/**/search.js @10gen/query-integration-search-testing @svc-auto-approve-bot +/jstests/libs/**/shard_targeting_util.js @10gen/query-optimization-cluster-planning @svc-auto-approve-bot +/jstests/libs/**/api_version_helpers.js @10gen/query-optimization-parsers @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/libs/config_files/OWNERS.yml +/jstests/libs/config_files/**/set_profiling* @10gen/query-integration-observability @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/libs/config_files/bad_timezone_info/OWNERS.yml +/jstests/libs/config_files/bad_timezone_info/**/* @10gen/query-execution-datetime @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/libs/config_files/good_timezone_info_fat/OWNERS.yml +/jstests/libs/config_files/good_timezone_info_fat/**/* @10gen/query-execution-datetime @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/libs/config_files/good_timezone_info_slim/OWNERS.yml +/jstests/libs/config_files/good_timezone_info_slim/**/* @10gen/query-execution-datetime @svc-auto-approve-bot # The following patterns are parsed from ./jstests/libs/override_methods/OWNERS.yml -/jstests/libs/override_methods/**/*golden_overrides.js @10gen/query-optimization @svc-auto-approve-bot +/jstests/libs/override_methods/**/*golden_overrides.js @10gen/query-optimization-golden-test @svc-auto-approve-bot +/jstests/libs/override_methods/**/*changestream* @10gen/query-execution-change-streams @svc-auto-approve-bot +/jstests/libs/override_methods/**/*query_settings* @10gen/query-execution-query-settings @svc-auto-approve-bot +/jstests/libs/override_methods/**/implicit_wildcard_indexes.js @10gen/query-execution-indexing @svc-auto-approve-bot +/jstests/libs/override_methods/**/implicitly_wrap_pipelines_in_facets.js @10gen/query-execution-aggregation @svc-auto-approve-bot +/jstests/libs/override_methods/**/*bulk_write.js @10gen/query-execution-write-exec @svc-auto-approve-bot +/jstests/libs/override_methods/**/implicit_timeseries_collections.js @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/libs/override_methods/**/query_shape_hash_stability.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/libs/override_methods/**/rerun_queries.js @10gen/query-optimization-plan-cache @svc-auto-approve-bot +/jstests/libs/override_methods/**/set_api* @10gen/query-optimization-parsers @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/libs/property_test_helpers/OWNERS.yml +/jstests/libs/property_test_helpers/**/* @10gen/query-optimization @svc-auto-approve-bot # The following patterns are parsed from ./jstests/libs/query/OWNERS.yml /jstests/libs/query/**/* @10gen/query @svc-auto-approve-bot -/jstests/libs/query/**/analyze_plan.js @10gen/query-optimization @svc-auto-approve-bot +/jstests/libs/query/**/analyze_plan.js @10gen/query-optimization-explain @svc-auto-approve-bot /jstests/libs/query/**/aggregation_pipeline_utils.js @10gen/query @svc-auto-approve-bot -/jstests/libs/query/**/change_stream*.js @10gen/query-execution @svc-auto-approve-bot +/jstests/libs/query/**/change_stream*.js @10gen/query-execution-change-streams @svc-auto-approve-bot /jstests/libs/query/**/geo*.js @10gen/query-integration @svc-auto-approve-bot /jstests/libs/query/**/group_to_distinct_scan_utils.js @10gen/query-integration @svc-auto-approve-bot -/jstests/libs/query/**/query_settings*.js @10gen/query-execution @svc-auto-approve-bot -/jstests/libs/query/**/sbe*.js @10gen/query-execution @svc-auto-approve-bot -/jstests/libs/query/**/wildcard_index_helpers.js @10gen/query-optimization @svc-auto-approve-bot +/jstests/libs/query/**/query_settings*.js @10gen/query-execution-query-settings @svc-auto-approve-bot +/jstests/libs/query/**/sbe*.js @10gen/query-execution-sbe @svc-auto-approve-bot +/jstests/libs/query/**/wildcard_index_helpers.js @10gen/query-optimization-planner @svc-auto-approve-bot # The following patterns are parsed from ./jstests/libs/txns/OWNERS.yml /jstests/libs/txns/**/* @10gen/server-cluster-scalability @svc-auto-approve-bot @@ -495,6 +545,22 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/multiVersion/**/migration* @10gen/server-cluster-scalability @svc-auto-approve-bot /jstests/multiVersion/**/rs_endpoint* @10gen/server-cluster-scalability @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/multiVersion/genericBinVersion/OWNERS.yml +/jstests/multiVersion/genericBinVersion/**/*query_stats* @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/multiVersion/genericBinVersion/**/keystring_index.js @10gen/query-execution-indexing @svc-auto-approve-bot +/jstests/multiVersion/genericBinVersion/**/timeseries_collection_mixed_type.js @10gen/query-integration-timeseries @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/multiVersion/genericChangeStreams/OWNERS.yml +/jstests/multiVersion/genericChangeStreams/**/* @10gen/query-execution-change-streams @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/multiVersion/genericSetFCVUsage/OWNERS.yml +/jstests/multiVersion/genericSetFCVUsage/**/bit_update_mixed_fcv.js @10gen/query-execution-write-exec @svc-auto-approve-bot +/jstests/multiVersion/genericSetFCVUsage/**/view_definition_feature_compatibility_version.js @10gen/query-optimization-views @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/multiVersion/targetedTestsLastLtsFeatures/OWNERS.yml +/jstests/multiVersion/targetedTestsLastLtsFeatures/**/bindata_convert_numeric_view_upgrade_downgrade.js @10gen/query-execution-aggregation @svc-auto-approve-bot +/jstests/multiVersion/targetedTestsLastLtsFeatures/**/error_and_log_validation_action.js @10gen/query-execution-doc-validation @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/noPassthrough/OWNERS.yml /jstests/noPassthrough/**/*reproducible_initializer* @10gen/server-programmability @svc-auto-approve-bot /jstests/noPassthrough/**/version.js @10gen/server-programmability @svc-auto-approve-bot @@ -506,6 +572,9 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/admission/OWNERS.yml /jstests/noPassthrough/admission/**/* @10gen/server-workload-scheduling @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/noPassthrough/api_version/OWNERS.yml +/jstests/noPassthrough/api_version/**/* @10gen/query-optimization-parsers @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/noPassthrough/backup_restore/OWNERS.yml /jstests/noPassthrough/backup_restore/**/* @10gen/server-rss-sydney @svc-auto-approve-bot @@ -537,6 +606,9 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/noPassthrough/configuration/**/configExpand_* @10gen/server-security @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/crud/OWNERS.yml +/jstests/noPassthrough/crud/**/batched_multi_deletes* @10gen/query-execution-write-exec @svc-auto-approve-bot +/jstests/noPassthrough/crud/**/bulk_write* @10gen/query-execution-write-exec @svc-auto-approve-bot +/jstests/noPassthrough/crud/**/bulk_write_currentop.js @10gen/query-integration-observability @svc-auto-approve-bot /jstests/noPassthrough/crud/**/*capped_deletes* @10gen/server-storage-execution @svc-auto-approve-bot /jstests/noPassthrough/crud/**/replset_writes_during_restarts_keep_fast_count_correct.js @10gen/server-storage-execution @svc-auto-approve-bot @@ -573,6 +645,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/libs/OWNERS.yml /jstests/noPassthrough/libs/**/*server_parameter* @10gen/server-programmability @svc-auto-approve-bot /jstests/noPassthrough/libs/**/*index_build* @10gen/server-index-builds @svc-auto-approve-bot +/jstests/noPassthrough/libs/**/*change_stream* @10gen/query-execution-change-streams @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/logging/OWNERS.yml /jstests/noPassthrough/logging/**/* @10gen/server-networking-and-observability @svc-auto-approve-bot @@ -592,24 +665,39 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/OWNERS.yml /jstests/noPassthrough/query/**/* @10gen/query @svc-auto-approve-bot -/jstests/noPassthrough/query/**/and_hash.js @10gen/query-optimization @svc-auto-approve-bot -/jstests/noPassthrough/query/**/and_sorted.js @10gen/query-optimization @svc-auto-approve-bot -/jstests/noPassthrough/query/**/doc_validation_options_logging.js @10gen/query-execution @svc-auto-approve-bot -/jstests/noPassthrough/query/**/query_settings* @10gen/query-execution @svc-auto-approve-bot -/jstests/noPassthrough/query/**/sbe* @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthrough/query/**/cluster_analyze_command.js @10gen/query-optimization-statistics @svc-auto-approve-bot +/jstests/noPassthrough/query/**/and_hash.js @10gen/query-optimization-planner @svc-auto-approve-bot +/jstests/noPassthrough/query/**/and_sorted.js @10gen/query-optimization-planner @svc-auto-approve-bot +/jstests/noPassthrough/query/**/doc_validation_options_logging.js @10gen/query-execution-doc-validation @svc-auto-approve-bot +/jstests/noPassthrough/query/**/query_settings* @10gen/query-execution-query-settings @svc-auto-approve-bot +/jstests/noPassthrough/query/**/sbe* @10gen/query-execution-sbe @svc-auto-approve-bot /jstests/noPassthrough/query/**/match_expression_optimization_failpoint.js @10gen/query-optimization @svc-auto-approve-bot /jstests/noPassthrough/query/**/pipeline_optimization_failpoint.js @10gen/query-optimization @svc-auto-approve-bot -/jstests/noPassthrough/query/**/noFetchBonus.js @10gen/query-optimization @svc-auto-approve-bot -/jstests/noPassthrough/query/**/optimize_sharded_sample_with_orphaned_docs.js @10gen/query-optimization @svc-auto-approve-bot -/jstests/noPassthrough/query/**/or_pushdown_disable_optimization.js @10gen/query-optimization @svc-auto-approve-bot +/jstests/noPassthrough/query/**/noFetchBonus.js @10gen/query-optimization-planner @svc-auto-approve-bot +/jstests/noPassthrough/query/**/optimize_sharded_sample_with_orphaned_docs.js @10gen/query-optimization-cluster-planning @svc-auto-approve-bot +/jstests/noPassthrough/query/**/or_pushdown_disable_optimization.js @10gen/query-optimization-planner @svc-auto-approve-bot /jstests/noPassthrough/query/**/search_hybrid_scoring_feature_flag_test.js @10gen/query-integration-search @svc-auto-approve-bot /jstests/noPassthrough/query/**/set_window_fields_read_concern_snapshot.js @10gen/query-integration-analytic-extensions @svc-auto-approve-bot +/jstests/noPassthrough/query/**/analyze* @10gen/query-optimization-statistics @svc-auto-approve-bot +/jstests/noPassthrough/query/**/commands_preserve_exec_error_code.js @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthrough/query/**/compute_mode.js @10gen/query-integration-analytic-extensions @svc-auto-approve-bot +/jstests/noPassthrough/query/**/external_data_source* @10gen/query-integration-analytic-extensions @svc-auto-approve-bot +/jstests/noPassthrough/query/**/fail_point_getmore_after_cursor_checkout.js @10gen/query-execution-client-cursor @svc-auto-approve-bot +/jstests/noPassthrough/query/**/external_sort_find.js @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthrough/query/**/fast_path_counters.js @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthrough/query/**/kill_pinned_cursor.js @10gen/query-execution-client-cursor @svc-auto-approve-bot +/jstests/noPassthrough/query/**/missing_shard_key.js @10gen/query-execution-router-query-exec @svc-auto-approve-bot +/jstests/noPassthrough/query/**/parse_zone_info.js @10gen/query-execution-datetime @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/change_streams/OWNERS.yml -/jstests/noPassthrough/query/change_streams/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthrough/query/change_streams/**/* @10gen/query-execution-change-streams @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/noPassthrough/query/current_op/OWNERS.yml +/jstests/noPassthrough/query/current_op/**/* @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/noPassthrough/query/current_op/**/OWNERS.yml @10gen/query-integration-staff-leads @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/explain/OWNERS.yml -/jstests/noPassthrough/query/explain/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/noPassthrough/query/explain/**/* @10gen/query-optimization-explain @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/fle/OWNERS.yml /jstests/noPassthrough/query/fle/**/* @10gen/query-integration-fle @svc-auto-approve-bot @@ -617,14 +705,18 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/geo/OWNERS.yml /jstests/noPassthrough/query/geo/**/* @10gen/query-integration-geo @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/noPassthrough/query/js/OWNERS.yml +/jstests/noPassthrough/query/js/**/* @10gen/query-integration-javascript @svc-auto-approve-bot +/jstests/noPassthrough/query/js/**/OWNERS.yml @10gen/query-integration-staff-leads @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/noPassthrough/query/mr/OWNERS.yml /jstests/noPassthrough/query/mr/**/* @10gen/query-integration-staff-leads @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/multiplanner/OWNERS.yml -/jstests/noPassthrough/query/multiplanner/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/noPassthrough/query/multiplanner/**/* @10gen/query-optimization-runtime-planners @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/plan_cache/OWNERS.yml -/jstests/noPassthrough/query/plan_cache/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/noPassthrough/query/plan_cache/**/* @10gen/query-optimization-plan-cache @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/profile/OWNERS.yml /jstests/noPassthrough/query/profile/**/* @10gen/query-integration-observability @svc-auto-approve-bot @@ -636,10 +728,11 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/noPassthrough/query/timeseries/**/* @10gen/query-integration-timeseries @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/update/OWNERS.yml -/jstests/noPassthrough/query/update/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthrough/query/update/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/query/yield/OWNERS.yml -/jstests/noPassthrough/query/yield/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthrough/query/yield/**/* @10gen/query-execution-yielding @svc-auto-approve-bot +/jstests/noPassthrough/query/yield/**/child_op_numyields.js @10gen/query-integration-observability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthrough/read_write_concern/OWNERS.yml /jstests/noPassthrough/read_write_concern/**/* @10gen/server-replication @svc-auto-approve-bot @@ -700,14 +793,18 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/noPassthroughWithMongod/**/log_component_helpers.js @10gen/server-networking-and-observability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/bulk/OWNERS.yml -/jstests/noPassthroughWithMongod/bulk/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/bulk/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/capped/OWNERS.yml /jstests/noPassthroughWithMongod/capped/**/* @10gen/server-storage-execution @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/capped/**/getmore_awaitdata_opcounters.js @10gen/query-execution-client-cursor @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/collStats/OWNERS.yml /jstests/noPassthroughWithMongod/collStats/**/* @10gen/server-storage-execution @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/noPassthroughWithMongod/cursor_server_status_metrics/OWNERS.yml +/jstests/noPassthroughWithMongod/cursor_server_status_metrics/**/* @10gen/query-execution-client-cursor @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/noPassthroughWithMongod/ddl/OWNERS.yml /jstests/noPassthroughWithMongod/ddl/**/* @10gen/server-catalog-and-routing @svc-auto-approve-bot @@ -720,16 +817,18 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/query/OWNERS.yml /jstests/noPassthroughWithMongod/query/**/* @10gen/query @svc-auto-approve-bot /jstests/noPassthroughWithMongod/query/**/*query_stats* @10gen/query-integration-query-stats @svc-auto-approve-bot -/jstests/noPassthroughWithMongod/query/**/plan_cache* @10gen/query-optimization @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/query/**/plan_cache* @10gen/query-optimization-plan-cache @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/query/**/cbr_infrastructure.js @10gen/query-optimization-cost-based-ranker @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/query/**/external_sort_text_agg.js @10gen/query-integration-staff-leads @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/query/explain/OWNERS.yml -/jstests/noPassthroughWithMongod/query/explain/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/query/explain/**/* @10gen/query-optimization-explain @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/query/geo/OWNERS.yml /jstests/noPassthroughWithMongod/query/geo/**/* @10gen/query-integration-geo @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/query/sbe/OWNERS.yml -/jstests/noPassthroughWithMongod/query/sbe/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/query/sbe/**/* @10gen/query-execution-sbe @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/repl/OWNERS.yml /jstests/noPassthroughWithMongod/repl/**/* @10gen/server-replication @svc-auto-approve-bot @@ -744,7 +843,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/noPassthroughWithMongod/validate/**/* @10gen/server-rss-sydney @10gen/server-storage-execution @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/write/OWNERS.yml -/jstests/noPassthroughWithMongod/write/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/noPassthroughWithMongod/write/**/* @10gen/query-execution-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/noPassthroughWithMongod/write/delete/OWNERS.yml /jstests/noPassthroughWithMongod/write/delete/**/* @10gen/server-collection-write-path @svc-auto-approve-bot @@ -755,11 +854,14 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/ocsp/OWNERS.yml /jstests/ocsp/**/* @10gen/server-security @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/product_limits/OWNERS.yml +/jstests/product_limits/**/* @10gen/query-optimization @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/query_golden/OWNERS.yml -/jstests/query_golden/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/query_golden/**/* @10gen/query-optimization-golden-test @svc-auto-approve-bot # The following patterns are parsed from ./jstests/query_golden_sharding/OWNERS.yml -/jstests/query_golden_sharding/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/query_golden_sharding/**/* @10gen/query-optimization-golden-test @svc-auto-approve-bot # The following patterns are parsed from ./jstests/readonly/OWNERS.yml /jstests/readonly/**/* @10gen/server-rss-sydney @svc-auto-approve-bot @@ -771,6 +873,13 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/resmoke_selftest/OWNERS.yml /jstests/resmoke_selftest/**/* @10gen/devprod-correctness @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/serial_run/OWNERS.yml +/jstests/serial_run/**/allow_partial_results_with_maxTimeMS* @10gen/query-execution-router-query-exec @svc-auto-approve-bot +/jstests/serial_run/**/out_max_time_ms.js @10gen/query-execution-aggregation @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/serverless/change_streams/OWNERS.yml +/jstests/serverless/change_streams/**/* @10gen/query-execution-change-streams @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/sharding/OWNERS.yml /jstests/sharding/**/auto_split_vector_basic.js @10gen/server-cluster-scalability @svc-auto-approve-bot /jstests/sharding/**/*fsync_lock* @10gen/server-cluster-scalability @svc-auto-approve-bot @@ -792,9 +901,11 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /jstests/sharding/internal_txns/**/* @10gen/server-cluster-scalability @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/libs/OWNERS.yml +/jstests/sharding/libs/**/timeseries_update_multi_util.js @10gen/query-integration-timeseries @svc-auto-approve-bot /jstests/sharding/libs/**/chunk_bounds_util.js @10gen/server-cluster-scalability @svc-auto-approve-bot /jstests/sharding/libs/**/update_shard_key_helpers.js @10gen/server-cluster-scalability @svc-auto-approve-bot /jstests/sharding/libs/**/zone_changes_util.js @10gen/server-cluster-scalability @svc-auto-approve-bot +/jstests/sharding/libs/**/mongos_api_params_util.js @10gen/query-optimization-parsers @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/load_balancer_support/OWNERS.yml /jstests/sharding/load_balancer_support/**/* @10gen/server-networking-and-observability @svc-auto-approve-bot @@ -804,31 +915,74 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/query/OWNERS.yml /jstests/sharding/query/**/* @10gen/query @svc-auto-approve-bot -/jstests/sharding/query/**/*plan_cache* @10gen/query-optimization @svc-auto-approve-bot -/jstests/sharding/query/**/hidden_index.js @10gen/query-optimization @svc-auto-approve-bot +/jstests/sharding/query/**/*plan_cache* @10gen/query-optimization-plan-cache @svc-auto-approve-bot +/jstests/sharding/query/**/exact_shard_key_target.js @10gen/query-optimization-cluster-planning @svc-auto-approve-bot +/jstests/sharding/query/**/hidden_index.js @10gen/query-optimization-planner @svc-auto-approve-bot /jstests/sharding/query/**/sharded_profile.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/sharding/query/**/authwhere.js @10gen/query-integration-javascript @svc-auto-approve-bot +/jstests/sharding/query/**/batch_write_command_sharded.js @10gen/query-execution-router-write-exec @svc-auto-approve-bot +/jstests/sharding/query/**/bulk_write* @10gen/query-execution-router-write-exec @svc-auto-approve-bot +/jstests/sharding/query/**/clustered_coll_scan.js @10gen/query-execution @svc-auto-approve-bot +/jstests/sharding/query/**/is_not_primary_error_does_not_leak_shard_cursor.js @10gen/query-execution-client-cursor @svc-auto-approve-bot +/jstests/sharding/query/**/log_remote_op_wait* @10gen/query-execution-router-query-exec @svc-auto-approve-bot +/jstests/sharding/query/**/lookup_from_config_cache_chunks.js @10gen/query-optimization-cluster-planning @svc-auto-approve-bot +/jstests/sharding/query/**/*target* @10gen/query-optimization-cluster-planning @svc-auto-approve-bot +/jstests/sharding/query/**/stats.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/sharding/query/**/unowned_doc_filtering.js @10gen/query-execution-router-query-exec @svc-auto-approve-bot +/jstests/sharding/query/**/update_delete_many_metrics.js @10gen/query-integration-observability @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/sharding/query/agg/OWNERS.yml +/jstests/sharding/query/agg/**/* @10gen/query @svc-auto-approve-bot +/jstests/sharding/query/agg/**/error_during_agg_getmore.js @10gen/query-execution-aggregation @svc-auto-approve-bot +/jstests/sharding/query/agg/**/agg_currentop.js @10gen/query-integration-observability @svc-auto-approve-bot +/jstests/sharding/query/agg/**/agg_js_on_mongos.js @10gen/query-integration-javascript @svc-auto-approve-bot +/jstests/sharding/query/agg/**/agg_percentile.js @10gen/query-integration-analytic-extensions @svc-auto-approve-bot +/jstests/sharding/query/agg/**/agg_explain_fmt.js @10gen/query-optimization-explain @svc-auto-approve-bot +/jstests/sharding/query/agg/**/*targeting* @10gen/query-optimization-cluster-planning @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/sharding/query/api_version/OWNERS.yml +/jstests/sharding/query/api_version/**/* @10gen/query-optimization-parsers @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/query/change_streams/OWNERS.yml -/jstests/sharding/query/change_streams/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/sharding/query/change_streams/**/* @10gen/query-execution-change-streams @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/query/collation/OWNERS.yml -/jstests/sharding/query/collation/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/sharding/query/collation/**/* @10gen/query-execution-collation @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/sharding/query/count/OWNERS.yml +/jstests/sharding/query/count/**/* @10gen/query-execution-router-query-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/query/explain/OWNERS.yml -/jstests/sharding/query/explain/**/* @10gen/query-optimization @svc-auto-approve-bot +/jstests/sharding/query/explain/**/* @10gen/query-optimization-explain @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/query/geo/OWNERS.yml /jstests/sharding/query/geo/**/* @10gen/query-integration-geo @svc-auto-approve-bot /jstests/sharding/query/geo/**/OWNERS.yml @10gen/query-integration-staff-leads @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/query/update/OWNERS.yml -/jstests/sharding/query/update/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/sharding/query/update/**/* @10gen/query-execution-router-write-exec @svc-auto-approve-bot # The following patterns are parsed from ./jstests/sharding/resharding_timeseries/OWNERS.yml /jstests/sharding/resharding_timeseries/**/* @10gen/server-cluster-scalability @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/sharding/timeseries/OWNERS.yml +/jstests/sharding/timeseries/**/timeseries_change_stream_no_orphans.js @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_cluster_collstats.js @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_cluster_indexstats.js @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_delete* @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_out* @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_query* @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_find_and_modify* @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_update* @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_upsert.js @10gen/query-integration-timeseries @svc-auto-approve-bot +/jstests/sharding/timeseries/**/timeseries_write* @10gen/query-integration-timeseries @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/sharding/updateOne_without_shard_key/OWNERS.yml -/jstests/sharding/updateOne_without_shard_key/**/* @10gen/query-execution @svc-auto-approve-bot +/jstests/sharding/updateOne_without_shard_key/**/* @10gen/query-execution-router-write-exec @svc-auto-approve-bot + +# The following patterns are parsed from ./jstests/slow1/OWNERS.yml +/jstests/slow1/**/conc_update.js @10gen/query-execution-write-exec @svc-auto-approve-bot +/jstests/slow1/**/geo_array1.js @10gen/query-integration-geo @svc-auto-approve-bot # The following patterns are parsed from ./jstests/ssl/OWNERS.yml /jstests/ssl/**/* @10gen/server-security @svc-auto-approve-bot @@ -842,6 +996,9 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot # The following patterns are parsed from ./jstests/ssl_x509/OWNERS.yml /jstests/ssl_x509/**/* @10gen/server-security @svc-auto-approve-bot +# The following patterns are parsed from ./jstests/third_party/fast_check/OWNERS.yml +/jstests/third_party/fast_check/**/* @10gen/query-optimization @svc-auto-approve-bot + # The following patterns are parsed from ./jstests/watchdog/OWNERS.yml /jstests/watchdog/**/* @10gen/server-networking-and-observability @svc-auto-approve-bot diff --git a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn.yml b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn.yml index 05786959de7..70b3c014555 100644 --- a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn.yml +++ b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn.yml @@ -60,7 +60,7 @@ selector: - jstests/concurrency/fsm_workloads/ddl/create_index_background/create_index_background.js - jstests/concurrency/fsm_workloads/ddl/create_index_background/create_index_background_partial_filter.js - jstests/concurrency/fsm_workloads/ddl/create_index_background/create_index_background_wildcard.js - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js - jstests/concurrency/fsm_workloads/query/update/update_rename.js - jstests/concurrency/fsm_workloads/query/update/update_rename_noindex.js diff --git a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn_with_balancer.yml b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn_with_balancer.yml index c1860abb5ec..ab15d2aabfd 100644 --- a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn_with_balancer.yml +++ b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_local_read_write_multi_stmt_txn_with_balancer.yml @@ -65,7 +65,7 @@ executor: matrix_suite: true selector: exclude_files: - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js - jstests/concurrency/fsm_workloads/query/update/update_rename.js - jstests/concurrency/fsm_workloads/query/update/update_rename_noindex.js diff --git a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn.yml b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn.yml index 1045b7d05f0..d0ef7ac4eea 100644 --- a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn.yml +++ b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn.yml @@ -57,7 +57,7 @@ selector: - jstests/concurrency/fsm_workloads/ddl/create_index_background/create_index_background.js - jstests/concurrency/fsm_workloads/ddl/create_index_background/create_index_background_partial_filter.js - jstests/concurrency/fsm_workloads/ddl/create_index_background/create_index_background_wildcard.js - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js - jstests/concurrency/fsm_workloads/query/update/update_rename.js - jstests/concurrency/fsm_workloads/query/update/update_rename_noindex.js diff --git a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn_with_balancer.yml b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn_with_balancer.yml index 5c590c77c23..a5f9f191cb6 100644 --- a/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn_with_balancer.yml +++ b/buildscripts/resmokeconfig/matrix_suites/generated_suites/concurrency_embedded_router_multi_stmt_txn_with_balancer.yml @@ -58,7 +58,7 @@ executor: matrix_suite: true selector: exclude_files: - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js - jstests/concurrency/fsm_workloads/query/update/update_rename.js - jstests/concurrency/fsm_workloads/query/update/update_rename_noindex.js diff --git a/buildscripts/resmokeconfig/suites/bulk_write_targeted_override.yml b/buildscripts/resmokeconfig/suites/bulk_write_targeted_override.yml index fe790cc759d..b237181e24d 100644 --- a/buildscripts/resmokeconfig/suites/bulk_write_targeted_override.yml +++ b/buildscripts/resmokeconfig/suites/bulk_write_targeted_override.yml @@ -13,35 +13,35 @@ selector: - jstests/sharding/analyze_shard_key/sampling_current_op_and_server_status_sharded.js - jstests/sharding/analyze_shard_key/sample_rates_rs.js - jstests/sharding/analyze_shard_key/sample_rates_sharded.js - - jstests/sharding/timeseries_delete_multi.js - - jstests/sharding/timeseries_delete_one_with_shard_key.js - - jstests/sharding/timeseries_delete_with_meta.js - - jstests/sharding/timeseries_insert.js - - jstests/sharding/timeseries_multiple_mongos.js - - jstests/sharding/timeseries_update.js - - jstests/sharding/timeseries_update_multi.js - - jstests/sharding/timeseries_update_routing.js - - jstests/sharding/timeseries_user_system_buckets_sharding.js - - jstests/sharding/timeseries_delete_one_without_shard_key.js - - jstests/sharding/timeseries_write_one_stale_sharding_state.js - - jstests/sharding/timeseries_shardkey_update.js - - jstests/sharding/timeseries_update_one.js - - jstests/sharding/timeseries_upsert.js + - jstests/sharding/timeseries/timeseries_delete_multi.js + - jstests/sharding/timeseries/timeseries_delete_one_with_shard_key.js + - jstests/sharding/timeseries/timeseries_delete_with_meta.js + - jstests/sharding/timeseries/timeseries_insert.js + - jstests/sharding/timeseries/timeseries_multiple_mongos.js + - jstests/sharding/timeseries/timeseries_update.js + - jstests/sharding/timeseries/timeseries_update_multi.js + - jstests/sharding/timeseries/timeseries_update_routing.js + - jstests/sharding/timeseries/timeseries_user_system_buckets_sharding.js + - jstests/sharding/timeseries/timeseries_delete_one_without_shard_key.js + - jstests/sharding/timeseries/timeseries_write_one_stale_sharding_state.js + - jstests/sharding/timeseries/timeseries_shardkey_update.js + - jstests/sharding/timeseries/timeseries_update_one.js + - jstests/sharding/timeseries/timeseries_upsert.js # The following tests are to get coverage of updates that change a document's shard key. - - jstests/sharding/update_shard_key_doc_moves_shards.js - - jstests/sharding/update_shard_key_pipeline_update.js + - jstests/sharding/query/update/update_shard_key_doc_moves_shards.js + - jstests/sharding/query/update/update_shard_key_pipeline_update.js - jstests/sharding/update_shard_key_doc_moves_shards_without_txn_number.js - - jstests/sharding/update_shard_key_doc_on_same_shard.js - - jstests/sharding/update_compound_shard_key.js - - jstests/sharding/update_shard_key_conflicting_writes.js + - jstests/sharding/query/update/update_shard_key_doc_on_same_shard.js + - jstests/sharding/query/update/update_compound_shard_key.js + - jstests/sharding/query/update/update_shard_key_conflicting_writes.js - jstests/sharding/move_chunk_update_shard_key_in_retryable_write.js - jstests/sharding/resharding_update_shard_key_in_retryable_write.js # End document shard key update tests - - jstests/sharding/timeseries_update_multi_explain.js + - jstests/sharding/timeseries/timeseries_update_multi_explain.js # Test behavior of updateOne/deleteOne with _id without shard key. - jstests/sharding/server_status_crud_metrics.js - jstests/sharding/server_status_crud_metrics_write_without_shard_key_with_id.js - - jstests/sharding/timeseries_buckets_modification_with_id.js + - jstests/sharding/timeseries/timeseries_buckets_modification_with_id.js - jstests/sharding/updateOne_idempotent_with_move_chunk.js - jstests/sharding/updateOne_with_id_without_shard_key_basic.js - jstests/sharding/deleteOne_with_id_without_shard_key_basic.js @@ -50,7 +50,7 @@ selector: - jstests/sharding/batched_writes_with_id_without_shard_key_stale_config.js - jstests/sharding/batched_writes_with_id_without_shard_key_basic.js - jstests/sharding/updateOne_without_shard_key/write_without_shard_key_single_shard_data_placement_change.js - - jstests/sharding/timeseries_writes_without_shard_key_single_shard_data_placement_change.js + - jstests/sharding/timeseries/timeseries_writes_without_shard_key_single_shard_data_placement_change.js - jstests/sharding/retryable_update_one_by_id_chunk_migration.js # End updateOne/deleteOne with _id without shard key tests exclude_files: diff --git a/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn.yml b/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn.yml index 34524a5c19f..463539b762b 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn.yml @@ -16,7 +16,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js # Performs direct writes to system.views diff --git a/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn_with_replica_set_endpoint.yml b/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn_with_replica_set_endpoint.yml index c8ef633fc91..811930b3ff0 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn_with_replica_set_endpoint.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_replication_multi_stmt_txn_with_replica_set_endpoint.yml @@ -22,7 +22,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js # Performs direct writes to system.views diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn.yml index 653577e022f..b7362b07be4 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn.yml @@ -39,7 +39,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js ## diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn_with_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn_with_balancer.yml index 4f7f961221e..ab9ff33f130 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn_with_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_local_read_write_multi_stmt_txn_with_balancer.yml @@ -29,7 +29,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js ## diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml index 023d726f9ca..d4be926b53c 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml @@ -39,7 +39,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js ## diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_stepdown_terminate_kill_primary.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_stepdown_terminate_kill_primary.yml index c22b6718642..0c5d88cbcde 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_stepdown_terminate_kill_primary.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_stepdown_terminate_kill_primary.yml @@ -46,7 +46,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js ## diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer.yml index adc77a39dde..aa6ee20182c 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer.yml @@ -29,7 +29,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js ## diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer_and_config_transitions.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer_and_config_transitions.yml index 3607597fd2b..52e1419b305 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer_and_config_transitions.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_balancer_and_config_transitions.yml @@ -51,7 +51,7 @@ selector: # Expects reads to die with a particular error, but other errors are possible if the read is part # of a transaction (e.g. ErrorCodes.LockTimeout). - - jstests/concurrency/fsm_workloads/drop_index_during_replan.js + - jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js - jstests/concurrency/fsm_workloads/query/drop_index_during_lookup.js # Relies on having one thread observe writes from the other threads, which won't become visible diff --git a/buildscripts/resmokeconfig/suites/sharding_clustered_collections.yml b/buildscripts/resmokeconfig/suites/sharding_clustered_collections.yml index 15ae5fb69e0..4d56540e0ff 100644 --- a/buildscripts/resmokeconfig/suites/sharding_clustered_collections.yml +++ b/buildscripts/resmokeconfig/suites/sharding_clustered_collections.yml @@ -9,7 +9,7 @@ selector: - jstests/sharding/shard2.js # Expects the collection creation options not to change. - jstests/sharding/move_primary_with_writes.js - - jstests/sharding/timeseries_user_system_buckets_sharding.js + - jstests/sharding/timeseries/timeseries_user_system_buckets_sharding.js # Expects to use the SBE plan cache - jstests/sharding/invalidate_plan_cache_entries_when_collection_generation_changes.js # TODO SERVER-85395: remove the following exclusion together with the test diff --git a/buildscripts/resmokeconfig/suites/sharding_csrs_continuous_config_stepdown.yml b/buildscripts/resmokeconfig/suites/sharding_csrs_continuous_config_stepdown.yml index f3817af4f36..5cccb6ff779 100644 --- a/buildscripts/resmokeconfig/suites/sharding_csrs_continuous_config_stepdown.yml +++ b/buildscripts/resmokeconfig/suites/sharding_csrs_continuous_config_stepdown.yml @@ -120,12 +120,12 @@ selector: - jstests/sharding/shard4.js - jstests/sharding/shard5.js - jstests/sharding/split_stale_mongos.js - - jstests/sharding/stale_mongos_updates_and_removes.js + - jstests/sharding/query/update/stale_mongos_updates_and_removes.js - jstests/sharding/zero_shard_version.js # Already stop or blackholes the primary of the CSRS config shard - jstests/sharding/all_shard_and_config_hosts_brought_down_one_by_one.js - jstests/sharding/all_config_servers_blackholed_from_mongos.js - - jstests/sharding/batch_write_command_sharded.js + - jstests/sharding/query/batch_write_command_sharded.js - jstests/sharding/config_rs_no_primary.js - jstests/sharding/startup_with_all_configs_down.js - jstests/sharding/lagged_config_secondary.js @@ -215,10 +215,10 @@ selector: - jstests/sharding/move_primary_with_writes.js # Expects same CSRS primary and shard primary throughout the test - - jstests/sharding/api_params_nontransaction_sharded.js - - jstests/sharding/api_params_nontransaction_unsharded.js - - jstests/sharding/api_params_transaction_sharded.js - - jstests/sharding/api_params_transaction_unsharded.js + - jstests/sharding/query/api_version/api_params_nontransaction_sharded.js + - jstests/sharding/query/api_version/api_params_nontransaction_unsharded.js + - jstests/sharding/query/api_version/api_params_transaction_sharded.js + - jstests/sharding/query/api_version/api_params_transaction_unsharded.js # These tests use the resharding test fixture, which performs its own addShard. Config server stepdowns can # interrupt the addShard operation resulting in the test cluster not being initalized properly. @@ -275,8 +275,8 @@ selector: # resumable changestream errors right now. # TODO (SERVER-97414): we could make these tests use the ChangeStreamTest fixture and # then remove them from the exclusion list. - - jstests/sharding/api_version_stage_allowance_checks.js - - jstests/sharding/log_remote_op_wait.js + - jstests/sharding/query/api_version/api_version_stage_allowance_checks.js + - jstests/sharding/query/log_remote_op_wait.js - jstests/sharding/query/change_streams/change_stream_against_shard_mongod.js - jstests/sharding/query/change_streams/change_stream_chunk_migration.js - jstests/sharding/query/change_streams/change_stream_empty_apply_ops.js @@ -308,7 +308,7 @@ selector: - jstests/sharding/query/explain/explain_cmd.js - jstests/sharding/resharding_change_stream_namespace_filtering.js - jstests/sharding/resharding_oplog_sync_agg_resume_token.js - - jstests/sharding/timeseries_change_stream_no_orphans.js + - jstests/sharding/timeseries/timeseries_change_stream_no_orphans.js exclude_with_any_tags: - does_not_support_stepdowns diff --git a/buildscripts/resmokeconfig/suites/timeseries_crud_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/timeseries_crud_jscore_passthrough.yml index 004eb8b115f..63ee833b3d6 100644 --- a/buildscripts/resmokeconfig/suites/timeseries_crud_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/timeseries_crud_jscore_passthrough.yml @@ -152,7 +152,6 @@ selector: - jstests/core/query/top/top_drop.js # Buckets collection creates compounded secondary indexes, which is not compatible with wildcard indexes. - jstests/core/compound_index_max_fields.js - - jstests/core/compound_wildcard_index_validation.js - jstests/core/write/update/update_with_pipeline.js # Operations not allowed on views. - jstests/core/datasize2.js # locking @@ -169,7 +168,7 @@ selector: - jstests/core/write/find_and_modify/find_and_modify_server6865.js # $elemMatch # Time-series collections are views which don't support map-reduce - jstests/core/commands_namespace_parsing.js - - jstests/core/constructors.js + - jstests/core/query/map_reduce/constructors.js - jstests/core/query/function_string_representations.js - jstests/core/query/map_reduce/map_reduce_validation.js - jstests/core/query/map_reduce/mr_single_reduce.js diff --git a/etc/backports_required_for_multiversion_tests.yml b/etc/backports_required_for_multiversion_tests.yml index 4788297051b..3df66ad94bf 100644 --- a/etc/backports_required_for_multiversion_tests.yml +++ b/etc/backports_required_for_multiversion_tests.yml @@ -191,7 +191,7 @@ last-continuous: ticket: SERVER-87285 - test_file: jstests/core/exhaust.js ticket: SERVER-87285 - - test_file: jstests/sharding/timeseries_sharding_admin_commands.js + - test_file: jstests/sharding/timeseries/timeseries_sharding_admin_commands.js ticket: SERVER-80690 - test_file: jstests/core/sparse_index_supports_ne_null.js ticket: SERVER-37164 @@ -245,9 +245,9 @@ last-continuous: ticket: SERVER-91195 - test_file: jstests/replsets/timeseries_mixed_schema_bucket_initial_sync.js ticket: SERVER-91195 - - test_file: jstests/sharding/timeseries_shard_collection_with_deprecation_message.js + - test_file: jstests/sharding/timeseries/timeseries_shard_collection_with_deprecation_message.js ticket: SERVER-88647 - - test_file: jstests/sharding/timeseries_out_conflicting_namespace_on_shard.js + - test_file: jstests/sharding/timeseries/timeseries_out_conflicting_namespace_on_shard.js ticket: SERVER-90720 - test_file: jstests/sharding/sharded_data_distribution.js ticket: SERVER-91522 @@ -319,11 +319,11 @@ last-continuous: ticket: SERVER-94156 - test_file: jstests/core/timeseries/query/timeseries_filter_extended_range.js ticket: SERVER-94207 - - test_file: jstests/sharding/explain_find_transformed_query.js + - test_file: jstests/sharding/query/explain/explain_find_transformed_query.js ticket: SERVER-82471 - test_file: jstests/change_streams/ddl_abort_index_build_event.js ticket: SERVER-93154 - - test_file: jstests/sharding/timeseries_query_extended_range.js + - test_file: jstests/sharding/timeseries/timeseries_query_extended_range.js ticket: SERVER-73641 - test_file: jstests/core/timeseries/write/timeseries_update_delete_extended_range.js ticket: SERVER-95075 @@ -535,7 +535,7 @@ last-lts: ticket: SERVER-87285 - test_file: jstests/core/exhaust.js ticket: SERVER-87285 - - test_file: jstests/sharding/timeseries_sharding_admin_commands.js + - test_file: jstests/sharding/timeseries/timeseries_sharding_admin_commands.js ticket: SERVER-80690 - test_file: jstests/core/sparse_index_supports_ne_null.js ticket: SERVER-37164 @@ -617,9 +617,9 @@ last-lts: ticket: SERVER-91195 - test_file: jstests/replsets/timeseries_mixed_schema_bucket_initial_sync.js ticket: SERVER-91195 - - test_file: jstests/sharding/timeseries_shard_collection_with_deprecation_message.js + - test_file: jstests/sharding/timeseries/timeseries_shard_collection_with_deprecation_message.js ticket: SERVER-88647 - - test_file: jstests/sharding/timeseries_out_conflicting_namespace_on_shard.js + - test_file: jstests/sharding/timeseries/timeseries_out_conflicting_namespace_on_shard.js ticket: SERVER-90720 - test_file: jstests/sharding/sharded_data_distribution.js ticket: SERVER-91522 @@ -695,11 +695,11 @@ last-lts: ticket: SERVER-94156 - test_file: jstests/core/timeseries/query/timeseries_filter_extended_range.js ticket: SERVER-94207 - - test_file: jstests/sharding/explain_find_transformed_query.js + - test_file: jstests/sharding/query/explain/explain_find_transformed_query.js ticket: SERVER-82471 - test_file: jstests/change_streams/ddl_abort_index_build_event.js ticket: SERVER-93154 - - test_file: jstests/sharding/timeseries_query_extended_range.js + - test_file: jstests/sharding/timeseries/timeseries_query_extended_range.js ticket: SERVER-73641 - test_file: jstests/core/timeseries/write/timeseries_update_delete_extended_range.js ticket: SERVER-95075 @@ -761,7 +761,7 @@ last-lts: ticket: SERVER-93149 - test_file: jstests/sharding/resharding_timeseries/unshard_timeseries.js ticket: SERVER-93149 - - test_file: jstests/sharding/timeseries_insert_move_collection.js + - test_file: jstests/sharding/timeseries/timeseries_insert_move_collection.js ticket: SERVER-93149 - test_file: jstests/core_sharding/resharding/reshard_collection_timeseries.js ticket: SERVER-93149 diff --git a/etc/test_retrial.yml b/etc/test_retrial.yml index 4d7e491c0fd..a752a520b4c 100644 --- a/etc/test_retrial.yml +++ b/etc/test_retrial.yml @@ -17,7 +17,7 @@ # # Examples: # -# JS test failed: jstests/sharding/exact_shard_key_target.js +# JS test failed: jstests/sharding/query/exact_shard_key_target.js # in task_name: sharding_csrs_continuous_config_stepdown_WT # on build_variant: any # with distro_id: any @@ -44,5 +44,5 @@ selector: js_test: - # jstests/sharding/exact_shard_key_target.js: + # jstests/sharding/query/exact_shard_key_target.js: # - retry_on_failure|sharding_csrs_continuous_config_stepdown_WT diff --git a/jstests/change_streams/OWNERS.yml b/jstests/change_streams/OWNERS.yml index 4397d677ea2..edfe9e82b4a 100644 --- a/jstests/change_streams/OWNERS.yml +++ b/jstests/change_streams/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-change-streams diff --git a/jstests/concurrency/fsm_workloads/OWNERS.yml b/jstests/concurrency/fsm_workloads/OWNERS.yml index 1e48d9a47f9..faf7aebe647 100644 --- a/jstests/concurrency/fsm_workloads/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/OWNERS.yml @@ -2,7 +2,7 @@ version: 1.0.0 filters: - "*write_without_shard_key*": approvers: - - 10gen/query-execution + - 10gen/query-execution-router-write-exec - "timeseries*": approvers: - 10gen/server-storage-execution diff --git a/jstests/concurrency/fsm_workloads/query/OWNERS.yml b/jstests/concurrency/fsm_workloads/query/OWNERS.yml index a9d8b50317c..306cf313ee1 100644 --- a/jstests/concurrency/fsm_workloads/query/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/query/OWNERS.yml @@ -5,10 +5,13 @@ filters: - 10gen/query - "find_flip_sbe_enabled.js": approvers: - - 10gen/query-execution + - 10gen/query-execution-sbe - "plan_cache_drop_database.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-plan-cache - "profile_command.js": approvers: - 10gen/query-integration-observability + - "drop_index_during_replan.js": + approvers: + - 10gen/query-optimization-runtime-planners diff --git a/jstests/concurrency/fsm_workloads/drop_index_during_replan.js b/jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js similarity index 100% rename from jstests/concurrency/fsm_workloads/drop_index_during_replan.js rename to jstests/concurrency/fsm_workloads/query/drop_index_during_replan.js diff --git a/jstests/concurrency/fsm_workloads/query/explain/OWNERS.yml b/jstests/concurrency/fsm_workloads/query/explain/OWNERS.yml index bd69fba8793..f41587de7bf 100644 --- a/jstests/concurrency/fsm_workloads/query/explain/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/query/explain/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-explain diff --git a/jstests/concurrency/fsm_workloads/query/map_reduce/OWNERS.yml b/jstests/concurrency/fsm_workloads/query/map_reduce/OWNERS.yml index bd69fba8793..ce2cace1421 100644 --- a/jstests/concurrency/fsm_workloads/query/map_reduce/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/query/map_reduce/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-integration-staff-leads diff --git a/jstests/concurrency/fsm_workloads/query/remove/OWNERS.yml b/jstests/concurrency/fsm_workloads/query/remove/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/concurrency/fsm_workloads/query/remove/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/query/remove/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/concurrency/fsm_workloads/query/update/OWNERS.yml b/jstests/concurrency/fsm_workloads/query/update/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/concurrency/fsm_workloads/query/update/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/query/update/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/concurrency/fsm_workloads/query/yield/OWNERS.yml b/jstests/concurrency/fsm_workloads/query/yield/OWNERS.yml index 4397d677ea2..6bcd9994e2a 100644 --- a/jstests/concurrency/fsm_workloads/query/yield/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/query/yield/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-yielding diff --git a/jstests/concurrency/fsm_workloads/updateOne_without_shard_key/OWNERS.yml b/jstests/concurrency/fsm_workloads/updateOne_without_shard_key/OWNERS.yml index 4397d677ea2..080587b7a8b 100644 --- a/jstests/concurrency/fsm_workloads/updateOne_without_shard_key/OWNERS.yml +++ b/jstests/concurrency/fsm_workloads/updateOne_without_shard_key/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-router-write-exec diff --git a/jstests/concurrency/fsm_workloads_no_passthrough_with_mongod/OWNERS.yml b/jstests/concurrency/fsm_workloads_no_passthrough_with_mongod/OWNERS.yml new file mode 100644 index 00000000000..e7ce61e034f --- /dev/null +++ b/jstests/concurrency/fsm_workloads_no_passthrough_with_mongod/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "external_data_source.js": + approvers: + - 10gen/query-integration-analytic-extensions diff --git a/jstests/core/OWNERS.yml b/jstests/core/OWNERS.yml index 339b8c31420..ed4c78371a0 100644 --- a/jstests/core/OWNERS.yml +++ b/jstests/core/OWNERS.yml @@ -21,3 +21,12 @@ filters: - "splitvector.js": approvers: - 10gen/server-cluster-scalability + - "opcounters_write_cmd.js": + approvers: + - 10gen/query-integration-observability + - "operation_latency_histogram.js": + approvers: + - 10gen/query-integration-observability + - "version_api*": + approvers: + - 10gen/query-optimization-parsers diff --git a/jstests/core/administrative/current_op/OWNERS.yml b/jstests/core/administrative/current_op/OWNERS.yml new file mode 100644 index 00000000000..d71958b99d0 --- /dev/null +++ b/jstests/core/administrative/current_op/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-integration-observability diff --git a/jstests/core/compound_wildcard_index_validation.js b/jstests/core/index/wildcard/compound_wildcard_index_validation.js similarity index 100% rename from jstests/core/compound_wildcard_index_validation.js rename to jstests/core/index/wildcard/compound_wildcard_index_validation.js diff --git a/jstests/core/query/OWNERS.yml b/jstests/core/query/OWNERS.yml index 5a11186e7ce..dd1b0154115 100644 --- a/jstests/core/query/OWNERS.yml +++ b/jstests/core/query/OWNERS.yml @@ -5,4 +5,4 @@ filters: - 10gen/query - "boolean_expression_simplification.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-heuristic-rewrite diff --git a/jstests/core/query/api/OWNERS.yml b/jstests/core/query/api/OWNERS.yml index bd69fba8793..536045de181 100644 --- a/jstests/core/query/api/OWNERS.yml +++ b/jstests/core/query/api/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-parsers diff --git a/jstests/core/query/collation/OWNERS.yml b/jstests/core/query/collation/OWNERS.yml index 4397d677ea2..e278dcba4ed 100644 --- a/jstests/core/query/collation/OWNERS.yml +++ b/jstests/core/query/collation/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-collation diff --git a/jstests/core/query/doc_validation/OWNERS.yml b/jstests/core/query/doc_validation/OWNERS.yml index 4397d677ea2..c3320c74452 100644 --- a/jstests/core/query/doc_validation/OWNERS.yml +++ b/jstests/core/query/doc_validation/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-doc-validation diff --git a/jstests/core/query/explain/OWNERS.yml b/jstests/core/query/explain/OWNERS.yml index bd69fba8793..f41587de7bf 100644 --- a/jstests/core/query/explain/OWNERS.yml +++ b/jstests/core/query/explain/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-explain diff --git a/jstests/core/query/inc/OWNERS.yml b/jstests/core/query/inc/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/core/query/inc/OWNERS.yml +++ b/jstests/core/query/inc/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/core/constructors.js b/jstests/core/query/map_reduce/constructors.js similarity index 100% rename from jstests/core/constructors.js rename to jstests/core/query/map_reduce/constructors.js diff --git a/jstests/core/query/plan_cache/OWNERS.yml b/jstests/core/query/plan_cache/OWNERS.yml index bd69fba8793..a04a7f22e75 100644 --- a/jstests/core/query/plan_cache/OWNERS.yml +++ b/jstests/core/query/plan_cache/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-plan-cache diff --git a/jstests/core/query/pull/OWNERS.yml b/jstests/core/query/pull/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/core/query/pull/OWNERS.yml +++ b/jstests/core/query/pull/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/core/query/push/OWNERS.yml b/jstests/core/query/push/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/core/query/push/OWNERS.yml +++ b/jstests/core/query/push/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/core/query/query_settings/OWNERS.yml b/jstests/core/query/query_settings/OWNERS.yml index 4397d677ea2..c1e6462c0a0 100644 --- a/jstests/core/query/query_settings/OWNERS.yml +++ b/jstests/core/query/query_settings/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-query-settings diff --git a/jstests/core/query/regex/OWNERS.yml b/jstests/core/query/regex/OWNERS.yml index 4397d677ea2..3d10c302be1 100644 --- a/jstests/core/query/regex/OWNERS.yml +++ b/jstests/core/query/regex/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-regex diff --git a/jstests/core/query/sbe/OWNERS.yml b/jstests/core/query/sbe/OWNERS.yml index 6c5b967ecd1..4515d3fdfc3 100644 --- a/jstests/core/query/sbe/OWNERS.yml +++ b/jstests/core/query/sbe/OWNERS.yml @@ -2,10 +2,7 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution - - "from_plan_cache_flag.js": - approvers: - - 10gen/query-optimization + - 10gen/query-execution-sbe - "*plan_cache*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-plan-cache diff --git a/jstests/core/query/set/OWNERS.yml b/jstests/core/query/set/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/core/query/set/OWNERS.yml +++ b/jstests/core/query/set/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/core/query/unset/OWNERS.yml b/jstests/core/query/unset/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/core/query/unset/OWNERS.yml +++ b/jstests/core/query/unset/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/core/write/OWNERS.yml b/jstests/core/write/OWNERS.yml index 59d12c8268f..6886780d8ef 100644 --- a/jstests/core/write/OWNERS.yml +++ b/jstests/core/write/OWNERS.yml @@ -2,7 +2,7 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec - "*empty_ts*.js": approvers: - 10gen/server-collection-write-path diff --git a/jstests/core/noop_writes.js b/jstests/core/write/noop_writes.js similarity index 100% rename from jstests/core/noop_writes.js rename to jstests/core/write/noop_writes.js diff --git a/jstests/decimal/OWNERS.yml b/jstests/decimal/OWNERS.yml index 358540f30a8..4119dd1b681 100644 --- a/jstests/decimal/OWNERS.yml +++ b/jstests/decimal/OWNERS.yml @@ -3,3 +3,9 @@ filters: - "*": approvers: - 10gen/server-programmability + - "decimal_find*": + approvers: + - 10gen/query-execution + - "decimal_update.js": + approvers: + - 10gen/query-execution-write-exec diff --git a/jstests/hooks/OWNERS.yml b/jstests/hooks/OWNERS.yml index 476da354ac7..17e3754b6e2 100644 --- a/jstests/hooks/OWNERS.yml +++ b/jstests/hooks/OWNERS.yml @@ -3,3 +3,6 @@ filters: - "run_analyze_shard_key_background.js": approvers: - 10gen/server-cluster-scalability + - "run_enable_change_stream.js": + approvers: + - 10gen/query-execution-change-streams diff --git a/jstests/libs/OWNERS.yml b/jstests/libs/OWNERS.yml index f6fd3c2d8de..8cdba995b3d 100644 --- a/jstests/libs/OWNERS.yml +++ b/jstests/libs/OWNERS.yml @@ -12,3 +12,46 @@ filters: - "sharded_cluster_fixture_helpers.js": approvers: - 10gen/server-catalog-and-routing + - 10gen/query-optimization-golden-test + - "assert_schema_match.js": + approvers: + - 10gen/query-execution-doc-validation + - "doc_validation_utils.js": + approvers: + - 10gen/query-execution-doc-validation + - "json_schema_test_runner.js": + approvers: + - 10gen/query-execution-doc-validation + - "*bulk_write*": + approvers: + - 10gen/query-execution-write-exec + - "curop_helpers.js": + approvers: + - 10gen/query-integration-observability + - "dateutil.js": + approvers: + - 10gen/query-execution-datetime + - "fts.js": + approvers: + - 10gen/query-integration-staff-leads + - "local_reads.js": + approvers: + - 10gen/query-integration-observability + - "pin_getmore_cursor.js": + approvers: + - 10gen/query-integration-observability + - "profiler.js": + approvers: + - 10gen/query-integration-observability + - "stats.js": + approvers: + - 10gen/query-integration-observability + - "search.js": + approvers: + - 10gen/query-integration-search-testing + - "shard_targeting_util.js": + approvers: + - 10gen/query-optimization-cluster-planning + - "api_version_helpers.js": + approvers: + - 10gen/query-optimization-parsers diff --git a/jstests/libs/config_files/OWNERS.yml b/jstests/libs/config_files/OWNERS.yml new file mode 100644 index 00000000000..a4883d90e68 --- /dev/null +++ b/jstests/libs/config_files/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "set_profiling*": + approvers: + - 10gen/query-integration-observability diff --git a/jstests/libs/config_files/bad_timezone_info/OWNERS.yml b/jstests/libs/config_files/bad_timezone_info/OWNERS.yml new file mode 100644 index 00000000000..7e3b4fae844 --- /dev/null +++ b/jstests/libs/config_files/bad_timezone_info/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-execution-datetime diff --git a/jstests/libs/config_files/good_timezone_info_fat/OWNERS.yml b/jstests/libs/config_files/good_timezone_info_fat/OWNERS.yml new file mode 100644 index 00000000000..7e3b4fae844 --- /dev/null +++ b/jstests/libs/config_files/good_timezone_info_fat/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-execution-datetime diff --git a/jstests/libs/config_files/good_timezone_info_slim/OWNERS.yml b/jstests/libs/config_files/good_timezone_info_slim/OWNERS.yml new file mode 100644 index 00000000000..7e3b4fae844 --- /dev/null +++ b/jstests/libs/config_files/good_timezone_info_slim/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-execution-datetime diff --git a/jstests/libs/override_methods/OWNERS.yml b/jstests/libs/override_methods/OWNERS.yml index 65f855eaa9d..bb5f73cb8b8 100644 --- a/jstests/libs/override_methods/OWNERS.yml +++ b/jstests/libs/override_methods/OWNERS.yml @@ -2,4 +2,31 @@ version: 1.0.0 filters: - "*golden_overrides.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-golden-test + - "*changestream*": + approvers: + - 10gen/query-execution-change-streams + - "*query_settings*": + approvers: + - 10gen/query-execution-query-settings + - "implicit_wildcard_indexes.js": + approvers: + - 10gen/query-execution-indexing + - "implicitly_wrap_pipelines_in_facets.js": + approvers: + - 10gen/query-execution-aggregation + - "*bulk_write.js": + approvers: + - 10gen/query-execution-write-exec + - "implicit_timeseries_collections.js": + approvers: + - 10gen/query-integration-timeseries + - "query_shape_hash_stability.js": + approvers: + - 10gen/query-integration-observability + - "rerun_queries.js": + approvers: + - 10gen/query-optimization-plan-cache + - "set_api*": + approvers: + - 10gen/query-optimization-parsers diff --git a/jstests/libs/property_test_helpers/OWNERS.yml b/jstests/libs/property_test_helpers/OWNERS.yml new file mode 100644 index 00000000000..bd69fba8793 --- /dev/null +++ b/jstests/libs/property_test_helpers/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-optimization diff --git a/jstests/libs/query/OWNERS.yml b/jstests/libs/query/OWNERS.yml index f1a88bff043..dc0f587e165 100644 --- a/jstests/libs/query/OWNERS.yml +++ b/jstests/libs/query/OWNERS.yml @@ -5,13 +5,13 @@ filters: - 10gen/query - "analyze_plan.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-explain - "aggregation_pipeline_utils.js": approvers: - 10gen/query - "change_stream*.js": approvers: - - 10gen/query-execution + - 10gen/query-execution-change-streams - "geo*.js": approvers: - 10gen/query-integration @@ -20,10 +20,10 @@ filters: - 10gen/query-integration - "query_settings*.js": approvers: - - 10gen/query-execution + - 10gen/query-execution-query-settings - "sbe*.js": approvers: - - 10gen/query-execution + - 10gen/query-execution-sbe - "wildcard_index_helpers.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-planner diff --git a/jstests/multiVersion/genericBinVersion/OWNERS.yml b/jstests/multiVersion/genericBinVersion/OWNERS.yml new file mode 100644 index 00000000000..9024d4e0076 --- /dev/null +++ b/jstests/multiVersion/genericBinVersion/OWNERS.yml @@ -0,0 +1,11 @@ +version: 1.0.0 +filters: + - "*query_stats*": + approvers: + - 10gen/query-integration-observability + - "keystring_index.js": + approvers: + - 10gen/query-execution-indexing + - "timeseries_collection_mixed_type.js": + approvers: + - 10gen/query-integration-timeseries diff --git a/jstests/multiVersion/genericChangeStreams/OWNERS.yml b/jstests/multiVersion/genericChangeStreams/OWNERS.yml new file mode 100644 index 00000000000..edfe9e82b4a --- /dev/null +++ b/jstests/multiVersion/genericChangeStreams/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-execution-change-streams diff --git a/jstests/multiVersion/genericSetFCVUsage/OWNERS.yml b/jstests/multiVersion/genericSetFCVUsage/OWNERS.yml new file mode 100644 index 00000000000..38705e23076 --- /dev/null +++ b/jstests/multiVersion/genericSetFCVUsage/OWNERS.yml @@ -0,0 +1,8 @@ +version: 1.0.0 +filters: + - "bit_update_mixed_fcv.js": + approvers: + - 10gen/query-execution-write-exec + - "view_definition_feature_compatibility_version.js": + approvers: + - 10gen/query-optimization-views diff --git a/jstests/multiVersion/targetedTestsLastLtsFeatures/OWNERS.yml b/jstests/multiVersion/targetedTestsLastLtsFeatures/OWNERS.yml new file mode 100644 index 00000000000..2dbebe33870 --- /dev/null +++ b/jstests/multiVersion/targetedTestsLastLtsFeatures/OWNERS.yml @@ -0,0 +1,8 @@ +version: 1.0.0 +filters: + - "bindata_convert_numeric_view_upgrade_downgrade.js": + approvers: + - 10gen/query-execution-aggregation + - "error_and_log_validation_action.js": + approvers: + - 10gen/query-execution-doc-validation diff --git a/jstests/noPassthrough/api_version/OWNERS.yml b/jstests/noPassthrough/api_version/OWNERS.yml new file mode 100644 index 00000000000..536045de181 --- /dev/null +++ b/jstests/noPassthrough/api_version/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-optimization-parsers diff --git a/jstests/noPassthrough/api_version_2_commands.js b/jstests/noPassthrough/api_version/api_version_2_commands.js similarity index 100% rename from jstests/noPassthrough/api_version_2_commands.js rename to jstests/noPassthrough/api_version/api_version_2_commands.js diff --git a/jstests/noPassthrough/api_version_metrics.js b/jstests/noPassthrough/api_version/api_version_metrics.js similarity index 100% rename from jstests/noPassthrough/api_version_metrics.js rename to jstests/noPassthrough/api_version/api_version_metrics.js diff --git a/jstests/noPassthrough/api_version_parameters_shell.js b/jstests/noPassthrough/api_version/api_version_parameters_shell.js similarity index 100% rename from jstests/noPassthrough/api_version_parameters_shell.js rename to jstests/noPassthrough/api_version/api_version_parameters_shell.js diff --git a/jstests/noPassthrough/require_api_version.js b/jstests/noPassthrough/api_version/require_api_version.js similarity index 100% rename from jstests/noPassthrough/require_api_version.js rename to jstests/noPassthrough/api_version/require_api_version.js diff --git a/jstests/noPassthrough/server_stats_api_versions_limit.js b/jstests/noPassthrough/api_version/server_stats_api_versions_limit.js similarity index 100% rename from jstests/noPassthrough/server_stats_api_versions_limit.js rename to jstests/noPassthrough/api_version/server_stats_api_versions_limit.js diff --git a/jstests/noPassthrough/crud/OWNERS.yml b/jstests/noPassthrough/crud/OWNERS.yml index 0ac97ffaaaa..9518fa7c5ee 100644 --- a/jstests/noPassthrough/crud/OWNERS.yml +++ b/jstests/noPassthrough/crud/OWNERS.yml @@ -1,5 +1,14 @@ version: 1.0.0 filters: + - "batched_multi_deletes*": + approvers: + - 10gen/query-execution-write-exec + - "bulk_write*": + approvers: + - 10gen/query-execution-write-exec + - "bulk_write_currentop.js": + approvers: + - 10gen/query-integration-observability - "*capped_deletes*": approvers: - 10gen/server-storage-execution diff --git a/jstests/noPassthrough/libs/OWNERS.yml b/jstests/noPassthrough/libs/OWNERS.yml index 34f2c19ddf8..c9e90bda8f8 100644 --- a/jstests/noPassthrough/libs/OWNERS.yml +++ b/jstests/noPassthrough/libs/OWNERS.yml @@ -6,3 +6,6 @@ filters: - "*index_build*": approvers: - 10gen/server-index-builds + - "*change_stream*": + approvers: + - 10gen/query-execution-change-streams diff --git a/jstests/noPassthrough/query/OWNERS.yml b/jstests/noPassthrough/query/OWNERS.yml index 89d90dbea54..f657428c075 100644 --- a/jstests/noPassthrough/query/OWNERS.yml +++ b/jstests/noPassthrough/query/OWNERS.yml @@ -3,21 +3,24 @@ filters: - "*": approvers: - 10gen/query + - "cluster_analyze_command.js": + approvers: + - 10gen/query-optimization-statistics - "and_hash.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-planner - "and_sorted.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-planner - "doc_validation_options_logging.js": approvers: - - 10gen/query-execution + - 10gen/query-execution-doc-validation - "query_settings*": approvers: - - 10gen/query-execution + - 10gen/query-execution-query-settings - "sbe*": approvers: - - 10gen/query-execution + - 10gen/query-execution-sbe - "match_expression_optimization_failpoint.js": approvers: - 10gen/query-optimization @@ -26,16 +29,46 @@ filters: - 10gen/query-optimization - "noFetchBonus.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-planner - "optimize_sharded_sample_with_orphaned_docs.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-cluster-planning - "or_pushdown_disable_optimization.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-planner - "search_hybrid_scoring_feature_flag_test.js": approvers: - 10gen/query-integration-search - "set_window_fields_read_concern_snapshot.js": approvers: - 10gen/query-integration-analytic-extensions + - "analyze*": + approvers: + - 10gen/query-optimization-statistics + - "commands_preserve_exec_error_code.js": + approvers: + - 10gen/query-execution + - "compute_mode.js": + approvers: + - 10gen/query-integration-analytic-extensions + - "external_data_source*": + approvers: + - 10gen/query-integration-analytic-extensions + - "fail_point_getmore_after_cursor_checkout.js": + approvers: + - 10gen/query-execution-client-cursor + - "external_sort_find.js": + approvers: + - 10gen/query-execution + - "fast_path_counters.js": + approvers: + - 10gen/query-execution + - "kill_pinned_cursor.js": + approvers: + - 10gen/query-execution-client-cursor + - "missing_shard_key.js": + approvers: + - 10gen/query-execution-router-query-exec + - "parse_zone_info.js": + approvers: + - 10gen/query-execution-datetime diff --git a/jstests/noPassthrough/agg_configurable_memory_limits_array_accumulators.js b/jstests/noPassthrough/query/agg/agg_configurable_memory_limits_array_accumulators.js similarity index 100% rename from jstests/noPassthrough/agg_configurable_memory_limits_array_accumulators.js rename to jstests/noPassthrough/query/agg/agg_configurable_memory_limits_array_accumulators.js diff --git a/jstests/noPassthrough/aggr_operationstats.js b/jstests/noPassthrough/query/agg/aggr_operationstats.js similarity index 100% rename from jstests/noPassthrough/aggr_operationstats.js rename to jstests/noPassthrough/query/agg/aggr_operationstats.js diff --git a/jstests/noPassthrough/analyze_command.js b/jstests/noPassthrough/query/analyze_command.js similarity index 100% rename from jstests/noPassthrough/analyze_command.js rename to jstests/noPassthrough/query/analyze_command.js diff --git a/jstests/noPassthrough/analyze_with_sampling.js b/jstests/noPassthrough/query/analyze_with_sampling.js similarity index 100% rename from jstests/noPassthrough/analyze_with_sampling.js rename to jstests/noPassthrough/query/analyze_with_sampling.js diff --git a/jstests/noPassthrough/query/change_streams/OWNERS.yml b/jstests/noPassthrough/query/change_streams/OWNERS.yml index 4397d677ea2..edfe9e82b4a 100644 --- a/jstests/noPassthrough/query/change_streams/OWNERS.yml +++ b/jstests/noPassthrough/query/change_streams/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-change-streams diff --git a/jstests/noPassthrough/change_collection_can_be_inconsistent.js b/jstests/noPassthrough/query/change_streams/change_collection_can_be_inconsistent.js similarity index 100% rename from jstests/noPassthrough/change_collection_can_be_inconsistent.js rename to jstests/noPassthrough/query/change_streams/change_collection_can_be_inconsistent.js diff --git a/jstests/noPassthrough/change_stream_primary_rollback.js b/jstests/noPassthrough/query/change_streams/change_stream_primary_rollback.js similarity index 100% rename from jstests/noPassthrough/change_stream_primary_rollback.js rename to jstests/noPassthrough/query/change_streams/change_stream_primary_rollback.js diff --git a/jstests/noPassthrough/architecture/cluster_analyze_command.js b/jstests/noPassthrough/query/cluster_analyze_command.js similarity index 100% rename from jstests/noPassthrough/architecture/cluster_analyze_command.js rename to jstests/noPassthrough/query/cluster_analyze_command.js diff --git a/jstests/noPassthrough/commands_preserve_exec_error_code.js b/jstests/noPassthrough/query/commands_preserve_exec_error_code.js similarity index 100% rename from jstests/noPassthrough/commands_preserve_exec_error_code.js rename to jstests/noPassthrough/query/commands_preserve_exec_error_code.js diff --git a/jstests/noPassthrough/compute_mode.js b/jstests/noPassthrough/query/compute_mode.js similarity index 100% rename from jstests/noPassthrough/compute_mode.js rename to jstests/noPassthrough/query/compute_mode.js diff --git a/jstests/noPassthrough/query/current_op/OWNERS.yml b/jstests/noPassthrough/query/current_op/OWNERS.yml new file mode 100644 index 00000000000..81c850bd7d4 --- /dev/null +++ b/jstests/noPassthrough/query/current_op/OWNERS.yml @@ -0,0 +1,8 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-integration-observability + - "OWNERS.yml": + approvers: + - 10gen/query-integration-staff-leads diff --git a/jstests/noPassthrough/currentop_active_cursor.js b/jstests/noPassthrough/query/current_op/currentop_active_cursor.js similarity index 100% rename from jstests/noPassthrough/currentop_active_cursor.js rename to jstests/noPassthrough/query/current_op/currentop_active_cursor.js diff --git a/jstests/noPassthrough/currentop_includes_await_time.js b/jstests/noPassthrough/query/current_op/currentop_includes_await_time.js similarity index 100% rename from jstests/noPassthrough/currentop_includes_await_time.js rename to jstests/noPassthrough/query/current_op/currentop_includes_await_time.js diff --git a/jstests/noPassthrough/currentop_query.js b/jstests/noPassthrough/query/current_op/currentop_query.js similarity index 100% rename from jstests/noPassthrough/currentop_query.js rename to jstests/noPassthrough/query/current_op/currentop_query.js diff --git a/jstests/noPassthrough/currentop_target_all_nodes.js b/jstests/noPassthrough/query/current_op/currentop_target_all_nodes.js similarity index 100% rename from jstests/noPassthrough/currentop_target_all_nodes.js rename to jstests/noPassthrough/query/current_op/currentop_target_all_nodes.js diff --git a/jstests/noPassthrough/deterministic_set_window_fields_knob.js b/jstests/noPassthrough/query/deterministic_set_window_fields_knob.js similarity index 100% rename from jstests/noPassthrough/deterministic_set_window_fields_knob.js rename to jstests/noPassthrough/query/deterministic_set_window_fields_knob.js diff --git a/jstests/noPassthrough/query/explain/OWNERS.yml b/jstests/noPassthrough/query/explain/OWNERS.yml index bd69fba8793..f41587de7bf 100644 --- a/jstests/noPassthrough/query/explain/OWNERS.yml +++ b/jstests/noPassthrough/query/explain/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-explain diff --git a/jstests/noPassthrough/cluster_explain_commands_not_supported.js b/jstests/noPassthrough/query/explain/cluster_explain_commands_not_supported.js similarity index 100% rename from jstests/noPassthrough/cluster_explain_commands_not_supported.js rename to jstests/noPassthrough/query/explain/cluster_explain_commands_not_supported.js diff --git a/jstests/noPassthrough/explain_and_profile_optimization_stats_util.js b/jstests/noPassthrough/query/explain/explain_and_profile_optimization_stats_util.js similarity index 100% rename from jstests/noPassthrough/explain_and_profile_optimization_stats_util.js rename to jstests/noPassthrough/query/explain/explain_and_profile_optimization_stats_util.js diff --git a/jstests/noPassthrough/query/explain/explain_optimization_stats.js b/jstests/noPassthrough/query/explain/explain_optimization_stats.js index 3c62c5ea89e..17e079531cd 100644 --- a/jstests/noPassthrough/query/explain/explain_optimization_stats.js +++ b/jstests/noPassthrough/query/explain/explain_optimization_stats.js @@ -9,7 +9,7 @@ import {ShardingTest} from "jstests/libs/shardingtest.js"; import { runWithFailpoint, setupCollectionAndGetExplainTestCases -} from "jstests/noPassthrough/explain_and_profile_optimization_stats_util.js"; +} from "jstests/noPassthrough/query/explain/explain_and_profile_optimization_stats_util.js"; const collName = "jstests_explain_optimization_stats"; function runTest(db) { diff --git a/jstests/noPassthrough/external_data_source.bson b/jstests/noPassthrough/query/external_data_source.bson similarity index 100% rename from jstests/noPassthrough/external_data_source.bson rename to jstests/noPassthrough/query/external_data_source.bson diff --git a/jstests/noPassthrough/external_data_source.js b/jstests/noPassthrough/query/external_data_source.js similarity index 98% rename from jstests/noPassthrough/external_data_source.js rename to jstests/noPassthrough/query/external_data_source.js index 070013cbb74..50d17f60d61 100644 --- a/jstests/noPassthrough/external_data_source.js +++ b/jstests/noPassthrough/query/external_data_source.js @@ -263,10 +263,14 @@ function testSimpleAggregationsOverExternalDataSource(pipeDir) { (function testRoundtripOverMultiplePipesUsingBsonFile() { jsTestLog("Testing testRoundtripOverMultiplePipesUsingBsonFile()"); - _writeTestPipeBsonFile( - pipeName1, objsPerPipe, "jstests/noPassthrough/external_data_source.bson", pipeDir); - _writeTestPipeBsonFile( - pipeName2, objsPerPipe, "jstests/noPassthrough/external_data_source.bson", pipeDir); + _writeTestPipeBsonFile(pipeName1, + objsPerPipe, + "jstests/noPassthrough/query/external_data_source.bson", + pipeDir); + _writeTestPipeBsonFile(pipeName2, + objsPerPipe, + "jstests/noPassthrough/query/external_data_source.bson", + pipeDir); let cursor = db.coll.aggregate([{$project: {_id: 0}}], { $_externalDataSources: [{ collName: "coll", diff --git a/jstests/noPassthrough/external_sort_find.js b/jstests/noPassthrough/query/external_sort_find.js similarity index 100% rename from jstests/noPassthrough/external_sort_find.js rename to jstests/noPassthrough/query/external_sort_find.js diff --git a/jstests/noPassthrough/fail_point_getmore_after_cursor_checkout.js b/jstests/noPassthrough/query/fail_point_getmore_after_cursor_checkout.js similarity index 100% rename from jstests/noPassthrough/fail_point_getmore_after_cursor_checkout.js rename to jstests/noPassthrough/query/fail_point_getmore_after_cursor_checkout.js diff --git a/jstests/noPassthrough/fast_path_counters.js b/jstests/noPassthrough/query/fast_path_counters.js similarity index 100% rename from jstests/noPassthrough/fast_path_counters.js rename to jstests/noPassthrough/query/fast_path_counters.js diff --git a/jstests/noPassthrough/query/js/OWNERS.yml b/jstests/noPassthrough/query/js/OWNERS.yml new file mode 100644 index 00000000000..948ff15dca9 --- /dev/null +++ b/jstests/noPassthrough/query/js/OWNERS.yml @@ -0,0 +1,8 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-integration-javascript + - "OWNERS.yml": + approvers: + - 10gen/query-integration-staff-leads diff --git a/jstests/noPassthrough/deprecated_serverside_js.js b/jstests/noPassthrough/query/js/deprecated_serverside_js.js similarity index 100% rename from jstests/noPassthrough/deprecated_serverside_js.js rename to jstests/noPassthrough/query/js/deprecated_serverside_js.js diff --git a/jstests/noPassthrough/expression_function_kill.js b/jstests/noPassthrough/query/js/expression_function_kill.js similarity index 100% rename from jstests/noPassthrough/expression_function_kill.js rename to jstests/noPassthrough/query/js/expression_function_kill.js diff --git a/jstests/noPassthrough/javascript_options.js b/jstests/noPassthrough/query/js/javascript_options.js similarity index 100% rename from jstests/noPassthrough/javascript_options.js rename to jstests/noPassthrough/query/js/javascript_options.js diff --git a/jstests/noPassthrough/jsHeapLimit.js b/jstests/noPassthrough/query/js/jsHeapLimit.js similarity index 100% rename from jstests/noPassthrough/jsHeapLimit.js rename to jstests/noPassthrough/query/js/jsHeapLimit.js diff --git a/jstests/noPassthrough/js_protection.js b/jstests/noPassthrough/query/js/js_protection.js similarity index 100% rename from jstests/noPassthrough/js_protection.js rename to jstests/noPassthrough/query/js/js_protection.js diff --git a/jstests/noPassthrough/js_protection_roundtrip.js b/jstests/noPassthrough/query/js/js_protection_roundtrip.js similarity index 100% rename from jstests/noPassthrough/js_protection_roundtrip.js rename to jstests/noPassthrough/query/js/js_protection_roundtrip.js diff --git a/jstests/noPassthrough/kill_pinned_cursor.js b/jstests/noPassthrough/query/kill_pinned_cursor.js similarity index 100% rename from jstests/noPassthrough/kill_pinned_cursor.js rename to jstests/noPassthrough/query/kill_pinned_cursor.js diff --git a/jstests/noPassthrough/missing_shard_key.js b/jstests/noPassthrough/query/missing_shard_key.js similarity index 100% rename from jstests/noPassthrough/missing_shard_key.js rename to jstests/noPassthrough/query/missing_shard_key.js diff --git a/jstests/noPassthrough/query/multiplanner/OWNERS.yml b/jstests/noPassthrough/query/multiplanner/OWNERS.yml index bd69fba8793..79efced7072 100644 --- a/jstests/noPassthrough/query/multiplanner/OWNERS.yml +++ b/jstests/noPassthrough/query/multiplanner/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-runtime-planners diff --git a/jstests/noPassthrough/do_not_drop_coll_after_succesful_out.js b/jstests/noPassthrough/query/out_merge/do_not_drop_coll_after_succesful_out.js similarity index 100% rename from jstests/noPassthrough/do_not_drop_coll_after_succesful_out.js rename to jstests/noPassthrough/query/out_merge/do_not_drop_coll_after_succesful_out.js diff --git a/jstests/noPassthrough/parse_zone_info.js b/jstests/noPassthrough/query/parse_zone_info.js similarity index 100% rename from jstests/noPassthrough/parse_zone_info.js rename to jstests/noPassthrough/query/parse_zone_info.js diff --git a/jstests/noPassthrough/query/plan_cache/OWNERS.yml b/jstests/noPassthrough/query/plan_cache/OWNERS.yml index bd69fba8793..a04a7f22e75 100644 --- a/jstests/noPassthrough/query/plan_cache/OWNERS.yml +++ b/jstests/noPassthrough/query/plan_cache/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-plan-cache diff --git a/jstests/noPassthrough/latency_includes_lock_acquisition_time.js b/jstests/noPassthrough/query/profile/latency_includes_lock_acquisition_time.js similarity index 100% rename from jstests/noPassthrough/latency_includes_lock_acquisition_time.js rename to jstests/noPassthrough/query/profile/latency_includes_lock_acquisition_time.js diff --git a/jstests/noPassthrough/profile_planning_time_stats.js b/jstests/noPassthrough/query/profile/profile_planning_time_stats.js similarity index 99% rename from jstests/noPassthrough/profile_planning_time_stats.js rename to jstests/noPassthrough/query/profile/profile_planning_time_stats.js index 0f43ee84b98..f180f2cb105 100644 --- a/jstests/noPassthrough/profile_planning_time_stats.js +++ b/jstests/noPassthrough/query/profile/profile_planning_time_stats.js @@ -13,7 +13,7 @@ import {ShardingTest} from "jstests/libs/shardingtest.js"; import { runWithFailpoint, setupCollectionAndGetExplainTestCases -} from "jstests/noPassthrough/explain_and_profile_optimization_stats_util.js"; +} from "jstests/noPassthrough/query/explain/explain_and_profile_optimization_stats_util.js"; const dbName = jsTestName(); const collName = "jstests_profile_stats"; diff --git a/jstests/noPassthrough/allow_disk_use_false_counter.js b/jstests/noPassthrough/query/server_status/allow_disk_use_false_counter.js similarity index 100% rename from jstests/noPassthrough/allow_disk_use_false_counter.js rename to jstests/noPassthrough/query/server_status/allow_disk_use_false_counter.js diff --git a/jstests/noPassthrough/cursor_server_status_metrics_sharded.js b/jstests/noPassthrough/query/server_status/cursor_server_status_metrics_sharded.js similarity index 100% rename from jstests/noPassthrough/cursor_server_status_metrics_sharded.js rename to jstests/noPassthrough/query/server_status/cursor_server_status_metrics_sharded.js diff --git a/jstests/noPassthrough/server_status_metrics_exclusion.js b/jstests/noPassthrough/query/server_status/server_status_metrics_exclusion.js similarity index 100% rename from jstests/noPassthrough/server_status_metrics_exclusion.js rename to jstests/noPassthrough/query/server_status/server_status_metrics_exclusion.js diff --git a/jstests/noPassthrough/query/update/OWNERS.yml b/jstests/noPassthrough/query/update/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/noPassthrough/query/update/OWNERS.yml +++ b/jstests/noPassthrough/query/update/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/noPassthrough/query/yield/OWNERS.yml b/jstests/noPassthrough/query/yield/OWNERS.yml index 4397d677ea2..2c58bbe88fb 100644 --- a/jstests/noPassthrough/query/yield/OWNERS.yml +++ b/jstests/noPassthrough/query/yield/OWNERS.yml @@ -2,4 +2,7 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-yielding + - "child_op_numyields.js": + approvers: + - 10gen/query-integration-observability diff --git a/jstests/noPassthrough/agg_yielding_during_runtime_planning.js b/jstests/noPassthrough/query/yield/agg_yielding_during_runtime_planning.js similarity index 100% rename from jstests/noPassthrough/agg_yielding_during_runtime_planning.js rename to jstests/noPassthrough/query/yield/agg_yielding_during_runtime_planning.js diff --git a/jstests/noPassthrough/child_op_numyields.js b/jstests/noPassthrough/query/yield/child_op_numyields.js similarity index 100% rename from jstests/noPassthrough/child_op_numyields.js rename to jstests/noPassthrough/query/yield/child_op_numyields.js diff --git a/jstests/noPassthrough/fall_off_capped_collection_yielding.js b/jstests/noPassthrough/query/yield/fall_off_capped_collection_yielding.js similarity index 100% rename from jstests/noPassthrough/fall_off_capped_collection_yielding.js rename to jstests/noPassthrough/query/yield/fall_off_capped_collection_yielding.js diff --git a/jstests/noPassthrough/interrupt_while_yielded.js b/jstests/noPassthrough/query/yield/interrupt_while_yielded.js similarity index 100% rename from jstests/noPassthrough/interrupt_while_yielded.js rename to jstests/noPassthrough/query/yield/interrupt_while_yielded.js diff --git a/jstests/noPassthroughWithMongod/bulk/OWNERS.yml b/jstests/noPassthroughWithMongod/bulk/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/noPassthroughWithMongod/bulk/OWNERS.yml +++ b/jstests/noPassthroughWithMongod/bulk/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/noPassthroughWithMongod/capped/OWNERS.yml b/jstests/noPassthroughWithMongod/capped/OWNERS.yml index ada0e071c90..e727fc05650 100644 --- a/jstests/noPassthroughWithMongod/capped/OWNERS.yml +++ b/jstests/noPassthroughWithMongod/capped/OWNERS.yml @@ -3,3 +3,6 @@ filters: - "*": approvers: - 10gen/server-storage-execution + - "getmore_awaitdata_opcounters.js": + approvers: + - 10gen/query-execution-client-cursor diff --git a/jstests/noPassthroughWithMongod/cursor_server_status_metrics/OWNERS.yml b/jstests/noPassthroughWithMongod/cursor_server_status_metrics/OWNERS.yml new file mode 100644 index 00000000000..9a97a16a5f6 --- /dev/null +++ b/jstests/noPassthroughWithMongod/cursor_server_status_metrics/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-execution-client-cursor diff --git a/jstests/noPassthroughWithMongod/query/OWNERS.yml b/jstests/noPassthroughWithMongod/query/OWNERS.yml index 43d1ffc8095..6ca6cd9be50 100644 --- a/jstests/noPassthroughWithMongod/query/OWNERS.yml +++ b/jstests/noPassthroughWithMongod/query/OWNERS.yml @@ -8,4 +8,10 @@ filters: - 10gen/query-integration-query-stats - "plan_cache*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-plan-cache + - "cbr_infrastructure.js": + approvers: + - 10gen/query-optimization-cost-based-ranker + - "external_sort_text_agg.js": + approvers: + - 10gen/query-integration-staff-leads diff --git a/jstests/noPassthroughWithMongod/cbr_infrastructure.js b/jstests/noPassthroughWithMongod/query/cbr_infrastructure.js similarity index 100% rename from jstests/noPassthroughWithMongod/cbr_infrastructure.js rename to jstests/noPassthroughWithMongod/query/cbr_infrastructure.js diff --git a/jstests/noPassthroughWithMongod/query/explain/OWNERS.yml b/jstests/noPassthroughWithMongod/query/explain/OWNERS.yml index bd69fba8793..f41587de7bf 100644 --- a/jstests/noPassthroughWithMongod/query/explain/OWNERS.yml +++ b/jstests/noPassthroughWithMongod/query/explain/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-explain diff --git a/jstests/noPassthroughWithMongod/external_sort_text_agg.js b/jstests/noPassthroughWithMongod/query/external_sort_text_agg.js similarity index 100% rename from jstests/noPassthroughWithMongod/external_sort_text_agg.js rename to jstests/noPassthroughWithMongod/query/external_sort_text_agg.js diff --git a/jstests/noPassthroughWithMongod/query/sbe/OWNERS.yml b/jstests/noPassthroughWithMongod/query/sbe/OWNERS.yml index 4397d677ea2..48022b44509 100644 --- a/jstests/noPassthroughWithMongod/query/sbe/OWNERS.yml +++ b/jstests/noPassthroughWithMongod/query/sbe/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-sbe diff --git a/jstests/noPassthroughWithMongod/write/OWNERS.yml b/jstests/noPassthroughWithMongod/write/OWNERS.yml index 4397d677ea2..4372fb1c53c 100644 --- a/jstests/noPassthroughWithMongod/write/OWNERS.yml +++ b/jstests/noPassthroughWithMongod/write/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-write-exec diff --git a/jstests/product_limits/OWNERS.yml b/jstests/product_limits/OWNERS.yml new file mode 100644 index 00000000000..bd69fba8793 --- /dev/null +++ b/jstests/product_limits/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-optimization diff --git a/jstests/query_golden/OWNERS.yml b/jstests/query_golden/OWNERS.yml index bd69fba8793..038da52acae 100644 --- a/jstests/query_golden/OWNERS.yml +++ b/jstests/query_golden/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-golden-test diff --git a/jstests/query_golden_sharding/OWNERS.yml b/jstests/query_golden_sharding/OWNERS.yml index bd69fba8793..038da52acae 100644 --- a/jstests/query_golden_sharding/OWNERS.yml +++ b/jstests/query_golden_sharding/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-golden-test diff --git a/jstests/serial_run/OWNERS.yml b/jstests/serial_run/OWNERS.yml new file mode 100644 index 00000000000..f999f2d9240 --- /dev/null +++ b/jstests/serial_run/OWNERS.yml @@ -0,0 +1,8 @@ +version: 1.0.0 +filters: + - "allow_partial_results_with_maxTimeMS*": + approvers: + - 10gen/query-execution-router-query-exec + - "out_max_time_ms.js": + approvers: + - 10gen/query-execution-aggregation diff --git a/jstests/serverless/change_streams/OWNERS.yml b/jstests/serverless/change_streams/OWNERS.yml new file mode 100644 index 00000000000..edfe9e82b4a --- /dev/null +++ b/jstests/serverless/change_streams/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-execution-change-streams diff --git a/jstests/serverless/change_stream_state_commands.js b/jstests/serverless/change_streams/change_stream_state_commands.js similarity index 100% rename from jstests/serverless/change_stream_state_commands.js rename to jstests/serverless/change_streams/change_stream_state_commands.js diff --git a/jstests/serverless/change_streams_cluster_parameter.js b/jstests/serverless/change_streams/change_streams_cluster_parameter.js similarity index 100% rename from jstests/serverless/change_streams_cluster_parameter.js rename to jstests/serverless/change_streams/change_streams_cluster_parameter.js diff --git a/jstests/serverless/sharded_change_stream_state_commands.js b/jstests/serverless/change_streams/sharded_change_stream_state_commands.js similarity index 100% rename from jstests/serverless/sharded_change_stream_state_commands.js rename to jstests/serverless/change_streams/sharded_change_stream_state_commands.js diff --git a/jstests/sharding/libs/OWNERS.yml b/jstests/sharding/libs/OWNERS.yml index 66683d90239..0be837f92e4 100644 --- a/jstests/sharding/libs/OWNERS.yml +++ b/jstests/sharding/libs/OWNERS.yml @@ -1,5 +1,8 @@ version: 1.0.0 filters: + - "timeseries_update_multi_util.js": + approvers: + - 10gen/query-integration-timeseries - "chunk_bounds_util.js": approvers: - 10gen/server-cluster-scalability @@ -9,3 +12,6 @@ filters: - "zone_changes_util.js": approvers: - 10gen/server-cluster-scalability + - "mongos_api_params_util.js": + approvers: + - 10gen/query-optimization-parsers diff --git a/jstests/sharding/query/OWNERS.yml b/jstests/sharding/query/OWNERS.yml index c0a3b7fd56b..a1caeff7b88 100644 --- a/jstests/sharding/query/OWNERS.yml +++ b/jstests/sharding/query/OWNERS.yml @@ -5,10 +5,46 @@ filters: - 10gen/query - "*plan_cache*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-plan-cache + - "exact_shard_key_target.js": + approvers: + - 10gen/query-optimization-cluster-planning - "hidden_index.js": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-planner - "sharded_profile.js": approvers: - 10gen/query-integration-observability + - "authwhere.js": + approvers: + - 10gen/query-integration-javascript + - "batch_write_command_sharded.js": + approvers: + - 10gen/query-execution-router-write-exec + - "bulk_write*": + approvers: + - 10gen/query-execution-router-write-exec + - "clustered_coll_scan.js": + approvers: + - 10gen/query-execution + - "is_not_primary_error_does_not_leak_shard_cursor.js": + approvers: + - 10gen/query-execution-client-cursor + - "log_remote_op_wait*": + approvers: + - 10gen/query-execution-router-query-exec + - "lookup_from_config_cache_chunks.js": + approvers: + - 10gen/query-optimization-cluster-planning + - "*target*": + approvers: + - 10gen/query-optimization-cluster-planning + - "stats.js": + approvers: + - 10gen/query-integration-observability + - "unowned_doc_filtering.js": + approvers: + - 10gen/query-execution-router-query-exec + - "update_delete_many_metrics.js": + approvers: + - 10gen/query-integration-observability diff --git a/jstests/sharding/query/agg/OWNERS.yml b/jstests/sharding/query/agg/OWNERS.yml new file mode 100644 index 00000000000..d5a6c9824d5 --- /dev/null +++ b/jstests/sharding/query/agg/OWNERS.yml @@ -0,0 +1,23 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query + - "error_during_agg_getmore.js": + approvers: + - 10gen/query-execution-aggregation + - "agg_currentop.js": + approvers: + - 10gen/query-integration-observability + - "agg_js_on_mongos.js": + approvers: + - 10gen/query-integration-javascript + - "agg_percentile.js": + approvers: + - 10gen/query-integration-analytic-extensions + - "agg_explain_fmt.js": + approvers: + - 10gen/query-optimization-explain + - "*targeting*": + approvers: + - 10gen/query-optimization-cluster-planning diff --git a/jstests/sharding/error_during_agg_getmore.js b/jstests/sharding/query/agg/error_during_agg_getmore.js similarity index 100% rename from jstests/sharding/error_during_agg_getmore.js rename to jstests/sharding/query/agg/error_during_agg_getmore.js diff --git a/jstests/sharding/query/api_version/OWNERS.yml b/jstests/sharding/query/api_version/OWNERS.yml new file mode 100644 index 00000000000..536045de181 --- /dev/null +++ b/jstests/sharding/query/api_version/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-optimization-parsers diff --git a/jstests/sharding/api_params_nontransaction_sharded.js b/jstests/sharding/query/api_version/api_params_nontransaction_sharded.js similarity index 100% rename from jstests/sharding/api_params_nontransaction_sharded.js rename to jstests/sharding/query/api_version/api_params_nontransaction_sharded.js diff --git a/jstests/sharding/api_params_nontransaction_unsharded.js b/jstests/sharding/query/api_version/api_params_nontransaction_unsharded.js similarity index 100% rename from jstests/sharding/api_params_nontransaction_unsharded.js rename to jstests/sharding/query/api_version/api_params_nontransaction_unsharded.js diff --git a/jstests/sharding/api_params_transaction_sharded.js b/jstests/sharding/query/api_version/api_params_transaction_sharded.js similarity index 100% rename from jstests/sharding/api_params_transaction_sharded.js rename to jstests/sharding/query/api_version/api_params_transaction_sharded.js diff --git a/jstests/sharding/api_params_transaction_unsharded.js b/jstests/sharding/query/api_version/api_params_transaction_unsharded.js similarity index 100% rename from jstests/sharding/api_params_transaction_unsharded.js rename to jstests/sharding/query/api_version/api_params_transaction_unsharded.js diff --git a/jstests/sharding/api_version_stage_allowance_checks.js b/jstests/sharding/query/api_version/api_version_stage_allowance_checks.js similarity index 100% rename from jstests/sharding/api_version_stage_allowance_checks.js rename to jstests/sharding/query/api_version/api_version_stage_allowance_checks.js diff --git a/jstests/sharding/api_version_test_expression.js b/jstests/sharding/query/api_version/api_version_test_expression.js similarity index 100% rename from jstests/sharding/api_version_test_expression.js rename to jstests/sharding/query/api_version/api_version_test_expression.js diff --git a/jstests/sharding/insert_api_version_consistency.js b/jstests/sharding/query/api_version/insert_api_version_consistency.js similarity index 100% rename from jstests/sharding/insert_api_version_consistency.js rename to jstests/sharding/query/api_version/insert_api_version_consistency.js diff --git a/jstests/sharding/authwhere.js b/jstests/sharding/query/authwhere.js similarity index 100% rename from jstests/sharding/authwhere.js rename to jstests/sharding/query/authwhere.js diff --git a/jstests/sharding/batch_write_command_sharded.js b/jstests/sharding/query/batch_write_command_sharded.js similarity index 100% rename from jstests/sharding/batch_write_command_sharded.js rename to jstests/sharding/query/batch_write_command_sharded.js diff --git a/jstests/sharding/bulk_write_basic.js b/jstests/sharding/query/bulk_write_basic.js similarity index 100% rename from jstests/sharding/bulk_write_basic.js rename to jstests/sharding/query/bulk_write_basic.js diff --git a/jstests/sharding/bulk_write_size_limit.js b/jstests/sharding/query/bulk_write_size_limit.js similarity index 100% rename from jstests/sharding/bulk_write_size_limit.js rename to jstests/sharding/query/bulk_write_size_limit.js diff --git a/jstests/sharding/query/change_streams/OWNERS.yml b/jstests/sharding/query/change_streams/OWNERS.yml index 4397d677ea2..edfe9e82b4a 100644 --- a/jstests/sharding/query/change_streams/OWNERS.yml +++ b/jstests/sharding/query/change_streams/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-change-streams diff --git a/jstests/sharding/oplog_document_key.js b/jstests/sharding/query/change_streams/oplog_document_key.js similarity index 100% rename from jstests/sharding/oplog_document_key.js rename to jstests/sharding/query/change_streams/oplog_document_key.js diff --git a/jstests/sharding/clustered_coll_scan.js b/jstests/sharding/query/clustered_coll_scan.js similarity index 100% rename from jstests/sharding/clustered_coll_scan.js rename to jstests/sharding/query/clustered_coll_scan.js diff --git a/jstests/sharding/query/collation/OWNERS.yml b/jstests/sharding/query/collation/OWNERS.yml index 4397d677ea2..e278dcba4ed 100644 --- a/jstests/sharding/query/collation/OWNERS.yml +++ b/jstests/sharding/query/collation/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-collation diff --git a/jstests/sharding/query/count/OWNERS.yml b/jstests/sharding/query/count/OWNERS.yml new file mode 100644 index 00000000000..dcf71b54fba --- /dev/null +++ b/jstests/sharding/query/count/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-execution-router-query-exec diff --git a/jstests/sharding/accurate_count_with_predicate.js b/jstests/sharding/query/count/accurate_count_with_predicate.js similarity index 100% rename from jstests/sharding/accurate_count_with_predicate.js rename to jstests/sharding/query/count/accurate_count_with_predicate.js diff --git a/jstests/sharding/empty_doc_results.js b/jstests/sharding/query/empty_doc_results.js similarity index 100% rename from jstests/sharding/empty_doc_results.js rename to jstests/sharding/query/empty_doc_results.js diff --git a/jstests/sharding/exact_shard_key_target.js b/jstests/sharding/query/exact_shard_key_target.js similarity index 100% rename from jstests/sharding/exact_shard_key_target.js rename to jstests/sharding/query/exact_shard_key_target.js diff --git a/jstests/sharding/query/explain/OWNERS.yml b/jstests/sharding/query/explain/OWNERS.yml index bd69fba8793..f41587de7bf 100644 --- a/jstests/sharding/query/explain/OWNERS.yml +++ b/jstests/sharding/query/explain/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-optimization + - 10gen/query-optimization-explain diff --git a/jstests/sharding/explain_find_transformed_query.js b/jstests/sharding/query/explain/explain_find_transformed_query.js similarity index 100% rename from jstests/sharding/explain_find_transformed_query.js rename to jstests/sharding/query/explain/explain_find_transformed_query.js diff --git a/jstests/sharding/is_not_primary_error_does_not_leak_shard_cursor.js b/jstests/sharding/query/is_not_primary_error_does_not_leak_shard_cursor.js similarity index 100% rename from jstests/sharding/is_not_primary_error_does_not_leak_shard_cursor.js rename to jstests/sharding/query/is_not_primary_error_does_not_leak_shard_cursor.js diff --git a/jstests/sharding/log_remote_op_wait.js b/jstests/sharding/query/log_remote_op_wait.js similarity index 100% rename from jstests/sharding/log_remote_op_wait.js rename to jstests/sharding/query/log_remote_op_wait.js diff --git a/jstests/sharding/log_remote_op_wait_for_other_commands.js b/jstests/sharding/query/log_remote_op_wait_for_other_commands.js similarity index 100% rename from jstests/sharding/log_remote_op_wait_for_other_commands.js rename to jstests/sharding/query/log_remote_op_wait_for_other_commands.js diff --git a/jstests/sharding/lookup_from_config_cache_chunks.js b/jstests/sharding/query/lookup_from_config_cache_chunks.js similarity index 100% rename from jstests/sharding/lookup_from_config_cache_chunks.js rename to jstests/sharding/query/lookup_from_config_cache_chunks.js diff --git a/jstests/sharding/authmr.js b/jstests/sharding/query/map_reduce/authmr.js similarity index 100% rename from jstests/sharding/authmr.js rename to jstests/sharding/query/map_reduce/authmr.js diff --git a/jstests/sharding/multi_write_target.js b/jstests/sharding/query/multi_write_target.js similarity index 100% rename from jstests/sharding/multi_write_target.js rename to jstests/sharding/query/multi_write_target.js diff --git a/jstests/sharding/shard_targeting.js b/jstests/sharding/query/shard_targeting.js similarity index 100% rename from jstests/sharding/shard_targeting.js rename to jstests/sharding/query/shard_targeting.js diff --git a/jstests/sharding/stats.js b/jstests/sharding/query/stats.js similarity index 100% rename from jstests/sharding/stats.js rename to jstests/sharding/query/stats.js diff --git a/jstests/sharding/unowned_doc_filtering.js b/jstests/sharding/query/unowned_doc_filtering.js similarity index 100% rename from jstests/sharding/unowned_doc_filtering.js rename to jstests/sharding/query/unowned_doc_filtering.js diff --git a/jstests/sharding/query/update/OWNERS.yml b/jstests/sharding/query/update/OWNERS.yml index 4397d677ea2..080587b7a8b 100644 --- a/jstests/sharding/query/update/OWNERS.yml +++ b/jstests/sharding/query/update/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-router-write-exec diff --git a/jstests/sharding/multi_update_orphan_shard_key.js b/jstests/sharding/query/update/multi_update_orphan_shard_key.js similarity index 100% rename from jstests/sharding/multi_update_orphan_shard_key.js rename to jstests/sharding/query/update/multi_update_orphan_shard_key.js diff --git a/jstests/sharding/stale_mongos_updates_and_removes.js b/jstests/sharding/query/update/stale_mongos_updates_and_removes.js similarity index 100% rename from jstests/sharding/stale_mongos_updates_and_removes.js rename to jstests/sharding/query/update/stale_mongos_updates_and_removes.js diff --git a/jstests/sharding/update_compound_shard_key.js b/jstests/sharding/query/update/update_compound_shard_key.js similarity index 100% rename from jstests/sharding/update_compound_shard_key.js rename to jstests/sharding/query/update/update_compound_shard_key.js diff --git a/jstests/sharding/update_immutable_fields.js b/jstests/sharding/query/update/update_immutable_fields.js similarity index 100% rename from jstests/sharding/update_immutable_fields.js rename to jstests/sharding/query/update/update_immutable_fields.js diff --git a/jstests/sharding/update_shard_key_bulk_write.js b/jstests/sharding/query/update/update_shard_key_bulk_write.js similarity index 100% rename from jstests/sharding/update_shard_key_bulk_write.js rename to jstests/sharding/query/update/update_shard_key_bulk_write.js diff --git a/jstests/sharding/update_shard_key_conflicting_writes.js b/jstests/sharding/query/update/update_shard_key_conflicting_writes.js similarity index 100% rename from jstests/sharding/update_shard_key_conflicting_writes.js rename to jstests/sharding/query/update/update_shard_key_conflicting_writes.js diff --git a/jstests/sharding/update_shard_key_doc_moves_shards.js b/jstests/sharding/query/update/update_shard_key_doc_moves_shards.js similarity index 100% rename from jstests/sharding/update_shard_key_doc_moves_shards.js rename to jstests/sharding/query/update/update_shard_key_doc_moves_shards.js diff --git a/jstests/sharding/update_shard_key_doc_on_same_shard.js b/jstests/sharding/query/update/update_shard_key_doc_on_same_shard.js similarity index 100% rename from jstests/sharding/update_shard_key_doc_on_same_shard.js rename to jstests/sharding/query/update/update_shard_key_doc_on_same_shard.js diff --git a/jstests/sharding/update_shard_key_pipeline_update.js b/jstests/sharding/query/update/update_shard_key_pipeline_update.js similarity index 100% rename from jstests/sharding/update_shard_key_pipeline_update.js rename to jstests/sharding/query/update/update_shard_key_pipeline_update.js diff --git a/jstests/sharding/upsert_sharded.js b/jstests/sharding/query/update/upsert_sharded.js similarity index 100% rename from jstests/sharding/upsert_sharded.js rename to jstests/sharding/query/update/upsert_sharded.js diff --git a/jstests/sharding/update_delete_many_metrics.js b/jstests/sharding/query/update_delete_many_metrics.js similarity index 100% rename from jstests/sharding/update_delete_many_metrics.js rename to jstests/sharding/query/update_delete_many_metrics.js diff --git a/jstests/sharding/wildcard_index_banned_for_shard_key.js b/jstests/sharding/query/wildcard_index_banned_for_shard_key.js similarity index 100% rename from jstests/sharding/wildcard_index_banned_for_shard_key.js rename to jstests/sharding/query/wildcard_index_banned_for_shard_key.js diff --git a/jstests/sharding/timeseries/OWNERS.yml b/jstests/sharding/timeseries/OWNERS.yml new file mode 100644 index 00000000000..aefe4b6c241 --- /dev/null +++ b/jstests/sharding/timeseries/OWNERS.yml @@ -0,0 +1,32 @@ +version: 1.0.0 +filters: + - "timeseries_change_stream_no_orphans.js": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_cluster_collstats.js": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_cluster_indexstats.js": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_delete*": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_out*": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_query*": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_find_and_modify*": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_update*": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_upsert.js": + approvers: + - 10gen/query-integration-timeseries + - "timeseries_write*": + approvers: + - 10gen/query-integration-timeseries diff --git a/jstests/sharding/timeseries_balancer.js b/jstests/sharding/timeseries/timeseries_balancer.js similarity index 100% rename from jstests/sharding/timeseries_balancer.js rename to jstests/sharding/timeseries/timeseries_balancer.js diff --git a/jstests/sharding/timeseries_buckets_find_and_modify.js b/jstests/sharding/timeseries/timeseries_buckets_find_and_modify.js similarity index 100% rename from jstests/sharding/timeseries_buckets_find_and_modify.js rename to jstests/sharding/timeseries/timeseries_buckets_find_and_modify.js diff --git a/jstests/sharding/timeseries_buckets_modification_with_id.js b/jstests/sharding/timeseries/timeseries_buckets_modification_with_id.js similarity index 100% rename from jstests/sharding/timeseries_buckets_modification_with_id.js rename to jstests/sharding/timeseries/timeseries_buckets_modification_with_id.js diff --git a/jstests/sharding/timeseries_change_stream_no_orphans.js b/jstests/sharding/timeseries/timeseries_change_stream_no_orphans.js similarity index 100% rename from jstests/sharding/timeseries_change_stream_no_orphans.js rename to jstests/sharding/timeseries/timeseries_change_stream_no_orphans.js diff --git a/jstests/sharding/timeseries_cluster_collstats.js b/jstests/sharding/timeseries/timeseries_cluster_collstats.js similarity index 100% rename from jstests/sharding/timeseries_cluster_collstats.js rename to jstests/sharding/timeseries/timeseries_cluster_collstats.js diff --git a/jstests/sharding/timeseries_cluster_indexstats.js b/jstests/sharding/timeseries/timeseries_cluster_indexstats.js similarity index 100% rename from jstests/sharding/timeseries_cluster_indexstats.js rename to jstests/sharding/timeseries/timeseries_cluster_indexstats.js diff --git a/jstests/sharding/timeseries_coll_mod.js b/jstests/sharding/timeseries/timeseries_coll_mod.js similarity index 100% rename from jstests/sharding/timeseries_coll_mod.js rename to jstests/sharding/timeseries/timeseries_coll_mod.js diff --git a/jstests/sharding/timeseries_coll_mod_bucketing_parameters.js b/jstests/sharding/timeseries/timeseries_coll_mod_bucketing_parameters.js similarity index 100% rename from jstests/sharding/timeseries_coll_mod_bucketing_parameters.js rename to jstests/sharding/timeseries/timeseries_coll_mod_bucketing_parameters.js diff --git a/jstests/sharding/timeseries_delete_multi.js b/jstests/sharding/timeseries/timeseries_delete_multi.js similarity index 100% rename from jstests/sharding/timeseries_delete_multi.js rename to jstests/sharding/timeseries/timeseries_delete_multi.js diff --git a/jstests/sharding/timeseries_delete_one_with_shard_key.js b/jstests/sharding/timeseries/timeseries_delete_one_with_shard_key.js similarity index 100% rename from jstests/sharding/timeseries_delete_one_with_shard_key.js rename to jstests/sharding/timeseries/timeseries_delete_one_with_shard_key.js diff --git a/jstests/sharding/timeseries_delete_one_without_shard_key.js b/jstests/sharding/timeseries/timeseries_delete_one_without_shard_key.js similarity index 100% rename from jstests/sharding/timeseries_delete_one_without_shard_key.js rename to jstests/sharding/timeseries/timeseries_delete_one_without_shard_key.js diff --git a/jstests/sharding/timeseries_delete_with_meta.js b/jstests/sharding/timeseries/timeseries_delete_with_meta.js similarity index 100% rename from jstests/sharding/timeseries_delete_with_meta.js rename to jstests/sharding/timeseries/timeseries_delete_with_meta.js diff --git a/jstests/sharding/timeseries_drop.js b/jstests/sharding/timeseries/timeseries_drop.js similarity index 100% rename from jstests/sharding/timeseries_drop.js rename to jstests/sharding/timeseries/timeseries_drop.js diff --git a/jstests/sharding/timeseries_find_and_modify_remove.js b/jstests/sharding/timeseries/timeseries_find_and_modify_remove.js similarity index 100% rename from jstests/sharding/timeseries_find_and_modify_remove.js rename to jstests/sharding/timeseries/timeseries_find_and_modify_remove.js diff --git a/jstests/sharding/timeseries_find_and_modify_update.js b/jstests/sharding/timeseries/timeseries_find_and_modify_update.js similarity index 100% rename from jstests/sharding/timeseries_find_and_modify_update.js rename to jstests/sharding/timeseries/timeseries_find_and_modify_update.js diff --git a/jstests/sharding/timeseries_indexes.js b/jstests/sharding/timeseries/timeseries_indexes.js similarity index 100% rename from jstests/sharding/timeseries_indexes.js rename to jstests/sharding/timeseries/timeseries_indexes.js diff --git a/jstests/sharding/timeseries_insert.js b/jstests/sharding/timeseries/timeseries_insert.js similarity index 100% rename from jstests/sharding/timeseries_insert.js rename to jstests/sharding/timeseries/timeseries_insert.js diff --git a/jstests/sharding/timeseries_insert_move_collection.js b/jstests/sharding/timeseries/timeseries_insert_move_collection.js similarity index 100% rename from jstests/sharding/timeseries_insert_move_collection.js rename to jstests/sharding/timeseries/timeseries_insert_move_collection.js diff --git a/jstests/sharding/timeseries_insert_targeting_normalize_metadata.js b/jstests/sharding/timeseries/timeseries_insert_targeting_normalize_metadata.js similarity index 100% rename from jstests/sharding/timeseries_insert_targeting_normalize_metadata.js rename to jstests/sharding/timeseries/timeseries_insert_targeting_normalize_metadata.js diff --git a/jstests/sharding/timeseries_multiple_mongos.js b/jstests/sharding/timeseries/timeseries_multiple_mongos.js similarity index 100% rename from jstests/sharding/timeseries_multiple_mongos.js rename to jstests/sharding/timeseries/timeseries_multiple_mongos.js diff --git a/jstests/sharding/timeseries_orphan_buckets.js b/jstests/sharding/timeseries/timeseries_orphan_buckets.js similarity index 100% rename from jstests/sharding/timeseries_orphan_buckets.js rename to jstests/sharding/timeseries/timeseries_orphan_buckets.js diff --git a/jstests/sharding/timeseries_out_conflicting_namespace_on_shard.js b/jstests/sharding/timeseries/timeseries_out_conflicting_namespace_on_shard.js similarity index 100% rename from jstests/sharding/timeseries_out_conflicting_namespace_on_shard.js rename to jstests/sharding/timeseries/timeseries_out_conflicting_namespace_on_shard.js diff --git a/jstests/sharding/timeseries_out_sharded.js b/jstests/sharding/timeseries/timeseries_out_sharded.js similarity index 100% rename from jstests/sharding/timeseries_out_sharded.js rename to jstests/sharding/timeseries/timeseries_out_sharded.js diff --git a/jstests/sharding/timeseries_query.js b/jstests/sharding/timeseries/timeseries_query.js similarity index 100% rename from jstests/sharding/timeseries_query.js rename to jstests/sharding/timeseries/timeseries_query.js diff --git a/jstests/sharding/timeseries_query_extended_range.js b/jstests/sharding/timeseries/timeseries_query_extended_range.js similarity index 100% rename from jstests/sharding/timeseries_query_extended_range.js rename to jstests/sharding/timeseries/timeseries_query_extended_range.js diff --git a/jstests/sharding/timeseries_retry_delete_and_update_multi_shard.js b/jstests/sharding/timeseries/timeseries_retry_delete_and_update_multi_shard.js similarity index 100% rename from jstests/sharding/timeseries_retry_delete_and_update_multi_shard.js rename to jstests/sharding/timeseries/timeseries_retry_delete_and_update_multi_shard.js diff --git a/jstests/sharding/timeseries_retry_delete_and_update_single_shard.js b/jstests/sharding/timeseries/timeseries_retry_delete_and_update_single_shard.js similarity index 100% rename from jstests/sharding/timeseries_retry_delete_and_update_single_shard.js rename to jstests/sharding/timeseries/timeseries_retry_delete_and_update_single_shard.js diff --git a/jstests/sharding/timeseries_retry_delete_and_update_unsharded.js b/jstests/sharding/timeseries/timeseries_retry_delete_and_update_unsharded.js similarity index 100% rename from jstests/sharding/timeseries_retry_delete_and_update_unsharded.js rename to jstests/sharding/timeseries/timeseries_retry_delete_and_update_unsharded.js diff --git a/jstests/sharding/timeseries_shard_collection.js b/jstests/sharding/timeseries/timeseries_shard_collection.js similarity index 100% rename from jstests/sharding/timeseries_shard_collection.js rename to jstests/sharding/timeseries/timeseries_shard_collection.js diff --git a/jstests/sharding/timeseries_shard_collection_with_deprecation_message.js b/jstests/sharding/timeseries/timeseries_shard_collection_with_deprecation_message.js similarity index 100% rename from jstests/sharding/timeseries_shard_collection_with_deprecation_message.js rename to jstests/sharding/timeseries/timeseries_shard_collection_with_deprecation_message.js diff --git a/jstests/sharding/timeseries_sharding_admin_commands.js b/jstests/sharding/timeseries/timeseries_sharding_admin_commands.js similarity index 100% rename from jstests/sharding/timeseries_sharding_admin_commands.js rename to jstests/sharding/timeseries/timeseries_sharding_admin_commands.js diff --git a/jstests/sharding/timeseries_shardkey_update.js b/jstests/sharding/timeseries/timeseries_shardkey_update.js similarity index 100% rename from jstests/sharding/timeseries_shardkey_update.js rename to jstests/sharding/timeseries/timeseries_shardkey_update.js diff --git a/jstests/sharding/timeseries_time_value_rounding.js b/jstests/sharding/timeseries/timeseries_time_value_rounding.js similarity index 100% rename from jstests/sharding/timeseries_time_value_rounding.js rename to jstests/sharding/timeseries/timeseries_time_value_rounding.js diff --git a/jstests/sharding/timeseries_update.js b/jstests/sharding/timeseries/timeseries_update.js similarity index 100% rename from jstests/sharding/timeseries_update.js rename to jstests/sharding/timeseries/timeseries_update.js diff --git a/jstests/sharding/timeseries_update_multi.js b/jstests/sharding/timeseries/timeseries_update_multi.js similarity index 100% rename from jstests/sharding/timeseries_update_multi.js rename to jstests/sharding/timeseries/timeseries_update_multi.js diff --git a/jstests/sharding/timeseries_update_multi_explain.js b/jstests/sharding/timeseries/timeseries_update_multi_explain.js similarity index 100% rename from jstests/sharding/timeseries_update_multi_explain.js rename to jstests/sharding/timeseries/timeseries_update_multi_explain.js diff --git a/jstests/sharding/timeseries_update_normalize_metadata.js b/jstests/sharding/timeseries/timeseries_update_normalize_metadata.js similarity index 100% rename from jstests/sharding/timeseries_update_normalize_metadata.js rename to jstests/sharding/timeseries/timeseries_update_normalize_metadata.js diff --git a/jstests/sharding/timeseries_update_one.js b/jstests/sharding/timeseries/timeseries_update_one.js similarity index 100% rename from jstests/sharding/timeseries_update_one.js rename to jstests/sharding/timeseries/timeseries_update_one.js diff --git a/jstests/sharding/timeseries_update_routing.js b/jstests/sharding/timeseries/timeseries_update_routing.js similarity index 100% rename from jstests/sharding/timeseries_update_routing.js rename to jstests/sharding/timeseries/timeseries_update_routing.js diff --git a/jstests/sharding/timeseries_upsert.js b/jstests/sharding/timeseries/timeseries_upsert.js similarity index 100% rename from jstests/sharding/timeseries_upsert.js rename to jstests/sharding/timeseries/timeseries_upsert.js diff --git a/jstests/sharding/timeseries_user_system_buckets_sharding.js b/jstests/sharding/timeseries/timeseries_user_system_buckets_sharding.js similarity index 100% rename from jstests/sharding/timeseries_user_system_buckets_sharding.js rename to jstests/sharding/timeseries/timeseries_user_system_buckets_sharding.js diff --git a/jstests/sharding/timeseries_write_one_stale_sharding_state.js b/jstests/sharding/timeseries/timeseries_write_one_stale_sharding_state.js similarity index 100% rename from jstests/sharding/timeseries_write_one_stale_sharding_state.js rename to jstests/sharding/timeseries/timeseries_write_one_stale_sharding_state.js diff --git a/jstests/sharding/timeseries_writes_without_shard_key_single_shard_data_placement_change.js b/jstests/sharding/timeseries/timeseries_writes_without_shard_key_single_shard_data_placement_change.js similarity index 100% rename from jstests/sharding/timeseries_writes_without_shard_key_single_shard_data_placement_change.js rename to jstests/sharding/timeseries/timeseries_writes_without_shard_key_single_shard_data_placement_change.js diff --git a/jstests/sharding/updateOne_without_shard_key/OWNERS.yml b/jstests/sharding/updateOne_without_shard_key/OWNERS.yml index 4397d677ea2..080587b7a8b 100644 --- a/jstests/sharding/updateOne_without_shard_key/OWNERS.yml +++ b/jstests/sharding/updateOne_without_shard_key/OWNERS.yml @@ -2,4 +2,4 @@ version: 1.0.0 filters: - "*": approvers: - - 10gen/query-execution + - 10gen/query-execution-router-write-exec diff --git a/jstests/slow1/OWNERS.yml b/jstests/slow1/OWNERS.yml new file mode 100644 index 00000000000..25b2c0277ea --- /dev/null +++ b/jstests/slow1/OWNERS.yml @@ -0,0 +1,8 @@ +version: 1.0.0 +filters: + - "conc_update.js": + approvers: + - 10gen/query-execution-write-exec + - "geo_array1.js": + approvers: + - 10gen/query-integration-geo diff --git a/jstests/third_party/fast_check/OWNERS.yml b/jstests/third_party/fast_check/OWNERS.yml new file mode 100644 index 00000000000..bd69fba8793 --- /dev/null +++ b/jstests/third_party/fast_check/OWNERS.yml @@ -0,0 +1,5 @@ +version: 1.0.0 +filters: + - "*": + approvers: + - 10gen/query-optimization