0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-56978 Add 'CommandNotSupported' as an ignorable background validation hook error

This commit is contained in:
Gregory Wlodarek 2021-05-14 20:30:53 +00:00 committed by Evergreen Agent
parent f856bd9d8e
commit 6043c0153b

View File

@ -27,7 +27,7 @@ const topology = DiscoverTopology.findConnectedNodes(conn);
const isIgnorableError = function ignorableError(codeName) {
if (codeName == "NamespaceNotFound" || codeName == "Interrupted" ||
codeName == "CommandNotSupportedOnView" || codeName == "InterruptedAtShutdown" ||
codeName == "InvalidViewDefinition") {
codeName == "InvalidViewDefinition" || codeName == "CommandNotSupported") {
return true;
}
return false;