summaryrefslogtreecommitdiff
path: root/jstests/hooks
diff options
context:
space:
mode:
authorCheahuychou Mao <mao.cheahuychou@gmail.com>2023-04-21 14:47:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-21 16:00:20 +0000
commit212b1d6e6f8e9ef949952ac5628679a7a78e849e (patch)
treec40080c3e462c10404c55e7b1f0a466ff1cd3d66 /jstests/hooks
parent36da7a04268bcd8ba8b0e458270eb2b44aa7cbb9 (diff)
downloadmongo-212b1d6e6f8e9ef949952ac5628679a7a78e849e.tar.gz
SERVER-75532 Investigate the high variability of the runtime of analyze_shard_key.js in suites with chunk migration and/or stepdown/kill/terminate
Diffstat (limited to 'jstests/hooks')
-rw-r--r--jstests/hooks/run_analyze_shard_key_background.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/hooks/run_analyze_shard_key_background.js b/jstests/hooks/run_analyze_shard_key_background.js
index 625eb6bc59e..945d449acaa 100644
--- a/jstests/hooks/run_analyze_shard_key_background.js
+++ b/jstests/hooks/run_analyze_shard_key_background.js
@@ -204,6 +204,11 @@ function analyzeShardKey(ns, shardKey, indexKey) {
tojsononeline(res)}`);
return res;
}
+ if (res.code == 7559401) {
+ print(`Failed to analyze the shard key because one of the shards fetched the split ` +
+ `point documents after the TTL deletions had started. ${tojsononeline(err)}`);
+ return res;
+ }
assert.commandWorked(res);
jsTest.log(`Finished analyzing the shard key: ${tojsononeline(res)}`);