SERVER-59495 Donor and recipient tenant migration state machines will persist the migration protocol info and tenantId info will be an empty string for 'Merge' protocol."
This commit is contained in:
committed by
Evergreen Agent
parent
91ea2a5da0
commit
7f89e2f0ed
@@ -52,6 +52,9 @@ function runTest(downgradeFCV) {
|
||||
migrationThread.start();
|
||||
hangAfterSavingFCV.wait();
|
||||
|
||||
const isRunningMergeProtocol =
|
||||
(TenantMigrationUtil.isShardMergeEnabled(recipientDb)) ? true : false;
|
||||
|
||||
// Downgrade the FCV for the recipient set.
|
||||
assert.commandWorked(
|
||||
recipientPrimary.adminCommand({setFeatureCompatibilityVersion: downgradeFCV}));
|
||||
@@ -66,7 +69,12 @@ function runTest(downgradeFCV) {
|
||||
|
||||
// The migration will not be able to continue in the downgraded version.
|
||||
TenantMigrationTest.assertAborted(migrationThread.returnData());
|
||||
checkLog.containsJson(newRecipientPrimary, 5356200); // Change-of-FCV detection message.
|
||||
// Change-of-FCV detection message.
|
||||
if (isRunningMergeProtocol) {
|
||||
checkLog.containsJson(newRecipientPrimary, 5949504);
|
||||
} else {
|
||||
checkLog.containsJson(newRecipientPrimary, 5356200);
|
||||
}
|
||||
|
||||
tenantMigrationTest.stop();
|
||||
recipientRst.stopSet();
|
||||
|
||||
Reference in New Issue
Block a user