diff options
author | Pavi Vetriselvan <pavithra.vetriselvan@mongodb.com> | 2020-08-24 12:25:14 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-03 13:19:48 +0000 |
commit | 783e113bbb1bfa83630222de5b74fe95530692f0 (patch) | |
tree | 1938acb2542c93805331e166f2b638ea25b42c03 /jstests/hooks | |
parent | e9b6548c82815c7fb900ee7c00e497660a7d610c (diff) | |
download | mongo-783e113bbb1bfa83630222de5b74fe95530692f0.tar.gz |
SERVER-50408 Change NotMaster error name to NotWritablePrimary
Diffstat (limited to 'jstests/hooks')
-rw-r--r-- | jstests/hooks/run_reconfig_background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/hooks/run_reconfig_background.js b/jstests/hooks/run_reconfig_background.js index e03d39306e3..e6be7a7401c 100644 --- a/jstests/hooks/run_reconfig_background.js +++ b/jstests/hooks/run_reconfig_background.js @@ -16,7 +16,7 @@ load('jstests/libs/parallelTester.js'); // For Thread. * Returns true if the error code is transient. */ function isIgnorableError(codeName) { - if (codeName == "NotMaster" || codeName == "InterruptedDueToReplStateChange" || + if (codeName == "NotWritablePrimary" || codeName == "InterruptedDueToReplStateChange" || codeName == "PrimarySteppedDown" || codeName === "NodeNotFound" || codeName === "ShutdownInProgress") { return true; |