SERVER-81310 Allow 'MovePrimaryInProgress' error code in run_fcv_upgrade_downgrade_background.js

This commit is contained in:
Arun Banala 2023-09-21 15:26:07 -07:00 committed by Evergreen Agent
parent 5a041811e8
commit 181fa28b62
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}
};