summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2019-08-20 15:32:40 +0000
committerevergreen <evergreen@mongodb.com>2019-08-20 15:32:40 +0000
commita4104d8069cdcba6ae4fb9b7e07e41050f888a60 (patch)
tree84faa8abc53d4281e79dc7550c318aad2bedcea1
parent1463c58b700738a17ff8501c8b5bc6b6fea8f3ea (diff)
downloadmongo-a4104d8069cdcba6ae4fb9b7e07e41050f888a60.tar.gz
SERVER-42896 Blacklist most mapReduce tests from multi_shard_local_read_write_multi_stmt_txn_jscore_passthrough
-rw-r--r--buildscripts/resmokeconfig/suites/multi_shard_local_read_write_multi_stmt_txn_jscore_passthrough.yml5
-rw-r--r--jstests/core/bypass_doc_validation.js1
-rw-r--r--jstests/core/commands_namespace_parsing.js1
-rw-r--r--jstests/core/constructors.js1
-rw-r--r--jstests/core/function_string_representations.js1
-rw-r--r--jstests/core/geo_mapreduce2.js1
-rw-r--r--jstests/core/mr1.js3
-rw-r--r--jstests/core/mr2.js1
-rw-r--r--jstests/core/mr3.js1
-rw-r--r--jstests/core/mr4.js1
-rw-r--r--jstests/core/mr5.js1
-rw-r--r--jstests/core/mr_bigobject.js1
-rw-r--r--jstests/core/mr_bigobject_replace.js1
-rw-r--r--jstests/core/mr_comments.js1
-rw-r--r--jstests/core/mr_errorhandling.js1
-rw-r--r--jstests/core/mr_index.js1
-rw-r--r--jstests/core/mr_index2.js1
-rw-r--r--jstests/core/mr_killop.js1
-rw-r--r--jstests/core/mr_merge.js1
-rw-r--r--jstests/core/mr_merge2.js1
-rw-r--r--jstests/core/mr_optim.js1
-rw-r--r--jstests/core/mr_outreduce.js1
-rw-r--r--jstests/core/mr_outreduce2.js1
-rw-r--r--jstests/core/mr_replaceIntoDB.js1
-rw-r--r--jstests/core/mr_sort.js1
-rw-r--r--jstests/core/mr_stored.js1
-rw-r--r--jstests/core/mr_undef.js1
-rw-r--r--jstests/core/profile_mapreduce.js1
-rw-r--r--jstests/core/recursion.js1
-rw-r--r--jstests/core/system_profile.js1
-rw-r--r--jstests/core/temp_cleanup.js1
-rw-r--r--jstests/core/txns/commands_banning_txnnumber_outside_transactions.js1
-rw-r--r--jstests/core/views/views_all_commands.js1
33 files changed, 38 insertions, 1 deletions
diff --git a/buildscripts/resmokeconfig/suites/multi_shard_local_read_write_multi_stmt_txn_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/multi_shard_local_read_write_multi_stmt_txn_jscore_passthrough.yml
index d4cceff05af..63e7f4b8ca0 100644
--- a/buildscripts/resmokeconfig/suites/multi_shard_local_read_write_multi_stmt_txn_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/multi_shard_local_read_write_multi_stmt_txn_jscore_passthrough.yml
@@ -339,6 +339,11 @@ selector:
- cannot_create_unique_index_when_using_hashed_shard_key
# Retrying a query can change whether a plan cache entry is active.
- inspects_whether_plan_cache_entry_is_active
+ # The following tests can't work in this suite. One override of this suite changes the
+ # writeConcern of all commands, and the other attempts to adjust certain mapReduce commands to use
+ # majority write concern. Note that in sharded deployments even non "replace" output modes may use
+ # temporary collections for intermediate results.
+ - uses_map_reduce_with_temp_collections
executor:
archive:
diff --git a/jstests/core/bypass_doc_validation.js b/jstests/core/bypass_doc_validation.js
index 8c9fd3e8419..28b396a3a05 100644
--- a/jstests/core/bypass_doc_validation.js
+++ b/jstests/core/bypass_doc_validation.js
@@ -4,6 +4,7 @@
// does_not_support_stepdowns,
// requires_fastcount,
// requires_non_retryable_commands,
+// uses_map_reduce_with_temp_collections,
// ]
/**
diff --git a/jstests/core/commands_namespace_parsing.js b/jstests/core/commands_namespace_parsing.js
index e17ab50ea50..94649811ab3 100644
--- a/jstests/core/commands_namespace_parsing.js
+++ b/jstests/core/commands_namespace_parsing.js
@@ -8,6 +8,7 @@
// requires_getmore,
// requires_non_retryable_commands,
// uses_testing_only_commands,
+// uses_map_reduce_with_temp_collections,
// ]
// This file tests that commands namespace parsing rejects embedded null bytes.
diff --git a/jstests/core/constructors.js b/jstests/core/constructors.js
index 7657f3b4b1e..22d3b277cc9 100644
--- a/jstests/core/constructors.js
+++ b/jstests/core/constructors.js
@@ -3,6 +3,7 @@
// @tags: [
// does_not_support_stepdowns,
// requires_non_retryable_commands,
+// uses_map_reduce_with_temp_collections,
// ]
// Takes a list of constructors and returns a new list with an extra entry for each constructor with
diff --git a/jstests/core/function_string_representations.js b/jstests/core/function_string_representations.js
index 79dd5b31b39..e724a680c37 100644
--- a/jstests/core/function_string_representations.js
+++ b/jstests/core/function_string_representations.js
@@ -1,5 +1,6 @@
// @tags: [
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
/**
diff --git a/jstests/core/geo_mapreduce2.js b/jstests/core/geo_mapreduce2.js
index 43eaffed82e..a740e723101 100644
--- a/jstests/core/geo_mapreduce2.js
+++ b/jstests/core/geo_mapreduce2.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
// Geo mapreduce 2 from SERVER-3478
diff --git a/jstests/core/mr1.js b/jstests/core/mr1.js
index fa7add00b89..d43b6b8303a 100644
--- a/jstests/core/mr1.js
+++ b/jstests/core/mr1.js
@@ -4,6 +4,7 @@
// does_not_support_stepdowns,
// requires_fastcount,
// requires_getmore,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr1;
@@ -199,4 +200,4 @@ assert(res.ok, "should be ok");
t.drop();
t1 = db.mr1_out;
-t1.drop(); \ No newline at end of file
+t1.drop();
diff --git a/jstests/core/mr2.js b/jstests/core/mr2.js
index 9b336a949c5..311ef367037 100644
--- a/jstests/core/mr2.js
+++ b/jstests/core/mr2.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr2;
diff --git a/jstests/core/mr3.js b/jstests/core/mr3.js
index 19c8abbf419..28c9e1bb5b7 100644
--- a/jstests/core/mr3.js
+++ b/jstests/core/mr3.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr3;
diff --git a/jstests/core/mr4.js b/jstests/core/mr4.js
index 987218ab926..33bf1b8b6eb 100644
--- a/jstests/core/mr4.js
+++ b/jstests/core/mr4.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr4;
diff --git a/jstests/core/mr5.js b/jstests/core/mr5.js
index 074002b5bc6..a27661ee66c 100644
--- a/jstests/core/mr5.js
+++ b/jstests/core/mr5.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
(function() {
diff --git a/jstests/core/mr_bigobject.js b/jstests/core/mr_bigobject.js
index 92865a04f0a..264bbb0e988 100644
--- a/jstests/core/mr_bigobject.js
+++ b/jstests/core/mr_bigobject.js
@@ -3,6 +3,7 @@
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
// requires_fastcount,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_bigobject;
diff --git a/jstests/core/mr_bigobject_replace.js b/jstests/core/mr_bigobject_replace.js
index 843afd3757e..e4935648a16 100644
--- a/jstests/core/mr_bigobject_replace.js
+++ b/jstests/core/mr_bigobject_replace.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
/**
diff --git a/jstests/core/mr_comments.js b/jstests/core/mr_comments.js
index d5a797256b6..e07c8c5c3d6 100644
--- a/jstests/core/mr_comments.js
+++ b/jstests/core/mr_comments.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_comments;
diff --git a/jstests/core/mr_errorhandling.js b/jstests/core/mr_errorhandling.js
index 1b873e0a0d5..ff0b8e5c5ac 100644
--- a/jstests/core/mr_errorhandling.js
+++ b/jstests/core/mr_errorhandling.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_errorhandling;
diff --git a/jstests/core/mr_index.js b/jstests/core/mr_index.js
index 9c4a6edd21d..9b71a6b38e7 100644
--- a/jstests/core/mr_index.js
+++ b/jstests/core/mr_index.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_index;
diff --git a/jstests/core/mr_index2.js b/jstests/core/mr_index2.js
index 6b85639a400..d4e8918a255 100644
--- a/jstests/core/mr_index2.js
+++ b/jstests/core/mr_index2.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_index2;
diff --git a/jstests/core/mr_killop.js b/jstests/core/mr_killop.js
index 168b54a5f6d..6c837c52943 100644
--- a/jstests/core/mr_killop.js
+++ b/jstests/core/mr_killop.js
@@ -7,6 +7,7 @@
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
// uses_multiple_connections,
+// uses_map_reduce_with_temp_collections,
// ]
// Test killop applied to m/r operations and child ops of m/r operations.
diff --git a/jstests/core/mr_merge.js b/jstests/core/mr_merge.js
index 4402d1a56e1..bfc98535738 100644
--- a/jstests/core/mr_merge.js
+++ b/jstests/core/mr_merge.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_merge;
diff --git a/jstests/core/mr_merge2.js b/jstests/core/mr_merge2.js
index b0ba9bcbaf0..11f0e4490bc 100644
--- a/jstests/core/mr_merge2.js
+++ b/jstests/core/mr_merge2.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_merge2;
diff --git a/jstests/core/mr_optim.js b/jstests/core/mr_optim.js
index 1fbcaabbea1..f54f57a0b32 100644
--- a/jstests/core/mr_optim.js
+++ b/jstests/core/mr_optim.js
@@ -3,6 +3,7 @@
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
// requires_getmore,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_optim;
diff --git a/jstests/core/mr_outreduce.js b/jstests/core/mr_outreduce.js
index daed8169800..bf73847d2ca 100644
--- a/jstests/core/mr_outreduce.js
+++ b/jstests/core/mr_outreduce.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_outreduce;
diff --git a/jstests/core/mr_outreduce2.js b/jstests/core/mr_outreduce2.js
index e849d5209bc..6e5468f5220 100644
--- a/jstests/core/mr_outreduce2.js
+++ b/jstests/core/mr_outreduce2.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
normal = "mr_outreduce2";
diff --git a/jstests/core/mr_replaceIntoDB.js b/jstests/core/mr_replaceIntoDB.js
index 536397e735e..1376dab3e97 100644
--- a/jstests/core/mr_replaceIntoDB.js
+++ b/jstests/core/mr_replaceIntoDB.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_replace;
diff --git a/jstests/core/mr_sort.js b/jstests/core/mr_sort.js
index 54465fa2d5d..b0bd74fa1c5 100644
--- a/jstests/core/mr_sort.js
+++ b/jstests/core/mr_sort.js
@@ -5,6 +5,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_sort;
diff --git a/jstests/core/mr_stored.js b/jstests/core/mr_stored.js
index c1c38253727..4f96712cce0 100644
--- a/jstests/core/mr_stored.js
+++ b/jstests/core/mr_stored.js
@@ -6,6 +6,7 @@
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
// requires_non_retryable_writes,
+// uses_map_reduce_with_temp_collections,
// ]
(function() {
"use strict";
diff --git a/jstests/core/mr_undef.js b/jstests/core/mr_undef.js
index eae17573283..f2ad1c135a4 100644
--- a/jstests/core/mr_undef.js
+++ b/jstests/core/mr_undef.js
@@ -2,6 +2,7 @@
// # mapReduce does not support afterClusterTime.
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
+// uses_map_reduce_with_temp_collections,
// ]
t = db.mr_undef;
diff --git a/jstests/core/profile_mapreduce.js b/jstests/core/profile_mapreduce.js
index 1516fe67d45..00a52871bd9 100644
--- a/jstests/core/profile_mapreduce.js
+++ b/jstests/core/profile_mapreduce.js
@@ -3,6 +3,7 @@
// does_not_support_causal_consistency,
// does_not_support_stepdowns,
// requires_profiling,
+// uses_map_reduce_with_temp_collections,
// ]
// Confirms that profiled findAndModify execution contains all expected metrics with proper values.
diff --git a/jstests/core/recursion.js b/jstests/core/recursion.js
index 617a51edccd..f1a70e86df0 100644
--- a/jstests/core/recursion.js
+++ b/jstests/core/recursion.js
@@ -4,6 +4,7 @@
// @tags: [
// does_not_support_stepdowns,
// requires_non_retryable_commands,
+// uses_map_reduce_with_temp_collections,
// ]
(function() {
diff --git a/jstests/core/system_profile.js b/jstests/core/system_profile.js
index 06c8e48f99b..2919f607fb6 100644
--- a/jstests/core/system_profile.js
+++ b/jstests/core/system_profile.js
@@ -4,6 +4,7 @@
// requires_collstats,
// requires_non_retryable_commands,
// requires_non_retryable_writes,
+// uses_map_reduce_with_temp_collections,
// ]
// Test various user operations against "system.profile" collection. SERVER-18111.
diff --git a/jstests/core/temp_cleanup.js b/jstests/core/temp_cleanup.js
index 36d27979fc8..e7babbb80f4 100644
--- a/jstests/core/temp_cleanup.js
+++ b/jstests/core/temp_cleanup.js
@@ -1,6 +1,7 @@
// @tags: [
// does_not_support_stepdowns,
// requires_fastcount,
+// uses_map_reduce_with_temp_collections,
// ]
mydb = db.getSisterDB("temp_cleanup_test");
diff --git a/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js b/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js
index 7f611ce2869..6da80feab73 100644
--- a/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js
+++ b/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js
@@ -1,6 +1,7 @@
// Test that commands other than retryable writes may not use txnNumber outside transactions.
// @tags: [
// requires_document_locking,
+// uses_map_reduce_with_temp_collections,
// ]
(function() {
"use strict";
diff --git a/jstests/core/views/views_all_commands.js b/jstests/core/views/views_all_commands.js
index ca92980eba8..6af2b45fb56 100644
--- a/jstests/core/views/views_all_commands.js
+++ b/jstests/core/views/views_all_commands.js
@@ -5,6 +5,7 @@
// requires_getmore,
// requires_non_retryable_commands,
// requires_non_retryable_writes,
+// uses_map_reduce_with_temp_collections,
// ]
/*