diff options
29 files changed, 49 insertions, 17 deletions
diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency.yml index ba43f57c66b..2c3b1156810 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency.yml @@ -115,8 +115,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency_and_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency_and_balancer.yml index 27e838a1b91..96a988bcec7 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency_and_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_causal_consistency_and_balancer.yml @@ -122,8 +122,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_clusterwide_ops_add_remove_shards.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_clusterwide_ops_add_remove_shards.yml index 9ed02016380..04cdc819806 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_clusterwide_ops_add_remove_shards.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_clusterwide_ops_add_remove_shards.yml @@ -21,8 +21,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml index 2f19da95d58..239ad58b69c 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml @@ -202,8 +202,8 @@ executor: wait_for_mongos_retarget: true kill: true - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture 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 3591484ec8e..7ab579d6e98 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 @@ -171,8 +171,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture 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 25ffecb23ae..8c5f9d3ad1b 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 @@ -172,8 +172,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml index 40293f34fda..7f3ef6e3144 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn.yml @@ -165,8 +165,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_kill_primary.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_kill_primary.yml index 7bd2fb85758..6f751060a68 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_kill_primary.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_kill_primary.yml @@ -249,8 +249,8 @@ executor: use_stepdown_permitted_file: true wait_for_mongos_retarget: true - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_terminate_primary.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_terminate_primary.yml index fb06380d8b9..2ba95613343 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_terminate_primary.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_terminate_primary.yml @@ -249,8 +249,8 @@ executor: use_stepdown_permitted_file: true wait_for_mongos_retarget: true - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture 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 d952f3d39ae..76ad1ed7f47 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 @@ -163,8 +163,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_stepdowns.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_stepdowns.yml index 703b885d474..b2de0ac89c4 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_stepdowns.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_multi_stmt_txn_with_stepdowns.yml @@ -222,8 +222,8 @@ executor: use_stepdown_permitted_file: true wait_for_mongos_retarget: true - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_replication.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_replication.yml index 476a40f9749..0fe853ba86d 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_replication.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_replication.yml @@ -120,8 +120,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_replication_with_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_replication_with_balancer.yml index eadd4a3edac..643584dfbe5 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_replication_with_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_replication_with_balancer.yml @@ -120,8 +120,8 @@ executor: hooks: - class: CheckReplDBHashInBackground - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml index 59f337448ab..1b327616265 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml @@ -202,8 +202,8 @@ executor: wait_for_mongos_retarget: true terminate: true - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml index 22a5617f30f..9ddfe263c7e 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml @@ -194,8 +194,8 @@ executor: use_stepdown_permitted_file: true wait_for_mongos_retarget: true - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml index c26a751e7d0..3efb22a1180 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml @@ -200,8 +200,8 @@ executor: use_stepdown_permitted_file: true wait_for_mongos_retarget: true - class: CheckReplDBHash - - class: ValidateCollections - class: CheckOrphansDeleted + - class: ValidateCollections # Validation can interfere with other operations, so this goes last. - class: CleanupConcurrencyWorkloads fixture: class: ShardedClusterFixture diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_causally_consistent_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_causally_consistent_jscore_passthrough.yml index f5aaf2f72b5..42bed46ab50 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_causally_consistent_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_causally_consistent_jscore_passthrough.yml @@ -176,6 +176,9 @@ selector: - assumes_read_preference_unchanged - does_not_support_causal_consistency - requires_collstats + # Full validation can cause ongoing queries to fail. This can affect the tenant migration + # process. + - uses_full_validation - tenant_migration_incompatible executor: diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml index a8117766776..bb2144aa243 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml @@ -111,6 +111,9 @@ selector: - requires_emptycapped # Multi-updates that conflict with tenant migration are not retried by inject_tenant_prefix.js. - requires_multi_updates + # Full validation can cause ongoing queries to fail. This can affect the tenant migration + # process. + - uses_full_validation - tenant_migration_incompatible executor: diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml index c5d6a5c74a3..46299663199 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml @@ -215,6 +215,9 @@ selector: - does_not_support_stepdowns - assumes_read_concern_unchanged - assumes_write_concern_unchanged + # Full validation can cause ongoing queries to fail. This can affect the tenant migration + # process. + - uses_full_validation executor: archive: diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_multi_stmt_txn_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_multi_stmt_txn_jscore_passthrough.yml index a235be15634..27d32f05c34 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_multi_stmt_txn_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_multi_stmt_txn_jscore_passthrough.yml @@ -346,6 +346,9 @@ selector: # that use API parameters cannot be run with transactions. - uses_api_parameters - does_not_support_transactions + # Full validation can cause ongoing queries to fail. This can affect the tenant migration + # process. + - uses_full_validation executor: archive: diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml index 4c5633cf1cc..24863f82ff6 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml @@ -207,6 +207,9 @@ selector: - does_not_support_stepdowns - assumes_read_concern_unchanged - assumes_write_concern_unchanged + # Full validation can cause ongoing queries to fail. This can affect the tenant migration + # process. + - uses_full_validation executor: archive: diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml index 3325e74738b..8c874a20c48 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml @@ -207,6 +207,9 @@ selector: - does_not_support_stepdowns - assumes_read_concern_unchanged - assumes_write_concern_unchanged + # Full validation can cause ongoing queries to fail. This can affect the tenant migration + # process. + - uses_full_validation executor: archive: diff --git a/jstests/core/bulk_insert_capped.js b/jstests/core/bulk_insert_capped.js index 6435ca9f88b..f1db06f5a93 100644 --- a/jstests/core/bulk_insert_capped.js +++ b/jstests/core/bulk_insert_capped.js @@ -11,6 +11,7 @@ * # The "max" option of a capped collection can be temporarily exceeded * # before a txn is committed. * does_not_support_transactions, + * uses_full_validation, * ] */ diff --git a/jstests/core/collection_truncate.js b/jstests/core/collection_truncate.js index cfd488dcab7..cdb00e59461 100644 --- a/jstests/core/collection_truncate.js +++ b/jstests/core/collection_truncate.js @@ -3,6 +3,7 @@ // requires_non_retryable_commands, // uses_testing_only_commands, // requires_emptycapped, +// uses_full_validation, // ] // SERVER-15033 truncate on a regular collection diff --git a/jstests/core/doc_validation_encrypt_keywords.js b/jstests/core/doc_validation_encrypt_keywords.js index 4bedb44cd2b..2e5b2254127 100644 --- a/jstests/core/doc_validation_encrypt_keywords.js +++ b/jstests/core/doc_validation_encrypt_keywords.js @@ -6,6 +6,7 @@ // @tags: [ // assumes_no_implicit_collection_creation_after_drop, // requires_non_retryable_commands, +// uses_full_validation, // ] (function() { "use strict"; diff --git a/jstests/core/index_partial_create_drop.js b/jstests/core/index_partial_create_drop.js index 6ddb65b4c35..9e882d14c1c 100644 --- a/jstests/core/index_partial_create_drop.js +++ b/jstests/core/index_partial_create_drop.js @@ -6,6 +6,7 @@ // # Builds index in the background // requires_background_index, // +// uses_full_validation, // ] // Test partial index creation and drops. diff --git a/jstests/core/index_partial_validate.js b/jstests/core/index_partial_validate.js index 5011b4b8bc2..14a8c7a8d82 100644 --- a/jstests/core/index_partial_validate.js +++ b/jstests/core/index_partial_validate.js @@ -1,5 +1,8 @@ // Tests that the validate command works with partial indexes and a document that does not have // an indexed field. For details, see SERVER-23730. +// @tags: [ +// uses_full_validation, +// ] 'use strict'; (function() { diff --git a/jstests/core/index_partial_write_ops.js b/jstests/core/index_partial_write_ops.js index 6adcb8933fd..c98cb9a9310 100644 --- a/jstests/core/index_partial_write_ops.js +++ b/jstests/core/index_partial_write_ops.js @@ -1,5 +1,9 @@ // Write ops tests for partial indexes. -// @tags: [cannot_create_unique_index_when_using_hashed_shard_key, requires_non_retryable_writes] +// @tags: [ +// cannot_create_unique_index_when_using_hashed_shard_key, +// requires_non_retryable_writes, +// uses_full_validation, +// ] (function() { "use strict"; diff --git a/jstests/core/update_numeric_field_name.js b/jstests/core/update_numeric_field_name.js index e9925522019..fbc89da7fda 100644 --- a/jstests/core/update_numeric_field_name.js +++ b/jstests/core/update_numeric_field_name.js @@ -1,5 +1,8 @@ // Test that update operations correctly fail if they violate the "ambiguous field name in array" // constraint for indexes. This is designed to reproduce SERVER-37058. +// @tags: [ +// uses_full_validation, +// ] (function() { "use strict"; |