diff options
author | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2019-12-20 03:06:46 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-20 03:06:46 +0000 |
commit | f3595d8e69c0b76a8bbe18f319e6e0c8f861072e (patch) | |
tree | fb06d75c7cb83956883280603e82e81f9a79bad3 /buildscripts | |
parent | 765f23ca79026f6b69232fbbd27dc7dcca3ecd7a (diff) | |
download | mongo-f3595d8e69c0b76a8bbe18f319e6e0c8f861072e.tar.gz |
SERVER-44917 Add ShardingTest hook to validate indexes are consistent across shards on shutdown
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/resmokelib/core/programs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/core/programs.py b/buildscripts/resmokelib/core/programs.py index 0b231dbd4ae..45a13e64525 100644 --- a/buildscripts/resmokelib/core/programs.py +++ b/buildscripts/resmokelib/core/programs.py @@ -335,6 +335,10 @@ def mongo_shell_program( # pylint: disable=too-many-branches,too-many-locals,to eval_sb.append( "load('jstests/libs/override_methods/check_uuids_consistent_across_cluster.js');") + # Load a callback to check index consistency before shutting down a ShardingTest. + eval_sb.append( + "load('jstests/libs/override_methods/check_indexes_consistent_across_cluster.js');") + # Load this file to retry operations that fail due to in-progress background operations. eval_sb.append( "load('jstests/libs/override_methods/implicitly_retry_on_background_op_in_progress.js');") |