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:
parent
f856bd9d8e
commit
6043c0153b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user