summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Suarez <kyle.suarez@mongodb.com>2018-02-26 09:41:58 -0500
committerKyle Suarez <kyle.suarez@mongodb.com>2018-02-26 09:41:58 -0500
commit67d04f1a286b23ea824bdfb7042462d7da1b515d (patch)
treee940e9a4705b0c04d40ce3e1f7d1caa1822d9905
parent3aa315557bef775c5291068e365a59a3a810fc41 (diff)
downloadmongo-67d04f1a286b23ea824bdfb7042462d7da1b515d.tar.gz
SERVER-33474 blacklist restart_catalog.js from suites involving initial sync
If the sync source of an initial syncing node has its catalog restarted, all its cursors are destroyed. This can cause the initial syncing node to copy only a subset of the required data.
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml3
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml3
3 files changed, 9 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
index b1b3d4137d9..25cc7145724 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
@@ -77,6 +77,9 @@ selector:
- jstests/core/profile_update.js
# The downstream syncing node affects the top output.
- jstests/core/top.js
+ # Restarting the catalog on the sync source will cause the downstream node to copy only a subset
+ # of the required data.
+ - jstests/core/restart_catalog.js
run_hook_interval: &run_hook_interval 20
executor:
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
index 123a236ba98..927deb3576e 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
@@ -11,6 +11,9 @@ selector:
- jstests/core/capped_update.js
# Having duplicate namespaces is not supported and will cause initial sync to fail.
- jstests/core/views/duplicate_ns.js
+ # Restarting the catalog on the sync source will cause the downstream node to copy only a subset
+ # of the required data.
+ - jstests/core/restart_catalog.js
run_hook_interval: &run_hook_interval 20
executor:
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml
index 2b0608877e0..0aa9d04ddc8 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml
@@ -11,6 +11,9 @@ selector:
- jstests/core/capped_update.js
# Having duplicate namespaces is not supported and will cause initial sync to fail.
- jstests/core/views/duplicate_ns.js
+ # Restarting the catalog on the sync source will cause the downstream node to copy only a subset
+ # of the required data.
+ - jstests/core/restart_catalog.js
run_hook_interval: &run_hook_interval 20
executor: