diff options
author | Haley Connelly <haley.connelly@mongodb.com> | 2020-07-09 16:45:32 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-10 22:55:23 +0000 |
commit | 102b3dd7fb50c0220148e5272c00c9bfb418d6c3 (patch) | |
tree | 5e6cde7827a0485022069f39240ab32565dac0e5 | |
parent | aeb2026e55a51a0b87c3f0b1ff9d7b505c851577 (diff) | |
download | mongo-102b3dd7fb50c0220148e5272c00c9bfb418d6c3.tar.gz |
SERVER-47900 Disable checkOrphansDeleted helper in 4.4 multiversion testing
-rw-r--r-- | jstests/hooks/run_check_orphans_are_deleted.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jstests/hooks/run_check_orphans_are_deleted.js b/jstests/hooks/run_check_orphans_are_deleted.js index b3745ffe646..384b9bbc91a 100644 --- a/jstests/hooks/run_check_orphans_are_deleted.js +++ b/jstests/hooks/run_check_orphans_are_deleted.js @@ -6,6 +6,15 @@ * Note: This hook won't find documents which don't have the full shard key. */ (function() { + +if (jsTest.options().mixedBinVersions) { + // The resumable range deleter can only be enabled in FCV 4.4. We skip running this hook when + // the cluster is in FCV 4.2 because there's otherwise no guarantee orphan documents are + // eventually cleaned up. + jsTestLog("CheckOrphansAreDeletedHelpers are disabled for 4.4 multiversion testing."); + return; +} + load('jstests/libs/check_orphans_are_deleted_helpers.js'); // For CheckOrphansAreDeletedHelpers. load('jstests/libs/discover_topology.js'); // For Topology and DiscoverTopology. |