mirror of https://github.com/mongodb/mongo
SERVER-81310 Allow 'MovePrimaryInProgress' error code in run_fcv_upgrade_downgrade_background.js
This commit is contained in:
parent
5a041811e8
commit
181fa28b62
|
|
@ -51,6 +51,12 @@ const sendFCVUpDown = function(ver) {
|
|||
builds are concurrently running');
|
||||
return;
|
||||
}
|
||||
if (e.code === ErrorCodes.MovePrimaryInProgress) {
|
||||
jsTestLog(
|
||||
'setFCV: Cannot downgrade the FCV that requires a collMod command when a move \
|
||||
Primary operation is running concurrently');
|
||||
return;
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue