summaryrefslogtreecommitdiff
path: root/jstests/multiVersion
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2021-11-04 23:02:33 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-04 23:32:41 +0000
commite47af06d2f144eab78746daac71005bbb73e69f4 (patch)
treecee5cf59b652b728a101aaabc6689644d2c22823 /jstests/multiVersion
parent1a99933a489e6620a72899011054352f27e3282a (diff)
downloadmongo-e47af06d2f144eab78746daac71005bbb73e69f4.tar.gz
Revert "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 reverts commit bbc96fbba2deaac539165bcd86bbdaf6037f41dd.
Diffstat (limited to 'jstests/multiVersion')
-rw-r--r--jstests/multiVersion/genericSetFCVUsage/tenant_migration_save_fcv.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_save_fcv.js b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_save_fcv.js
index 19a5e7eae83..a7881fef8aa 100644
--- a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_save_fcv.js
+++ b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_save_fcv.js
@@ -52,9 +52,6 @@ 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}));
@@ -69,12 +66,7 @@ function runTest(downgradeFCV) {
// The migration will not be able to continue in the downgraded version.
TenantMigrationTest.assertAborted(migrationThread.returnData());
- // Change-of-FCV detection message.
- if (isRunningMergeProtocol) {
- checkLog.containsJson(newRecipientPrimary, 5949504);
- } else {
- checkLog.containsJson(newRecipientPrimary, 5356200);
- }
+ checkLog.containsJson(newRecipientPrimary, 5356200); // Change-of-FCV detection message.
tenantMigrationTest.stop();
recipientRst.stopSet();