summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/tenant_migration_donor_cmds.cpp
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2021-03-25 21:53:17 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-22 19:13:05 +0000
commit4565b6d14cf75272a6487e99aabcd05b4c290670 (patch)
tree20b7cfc287bd26731c9b344f74f5ec5356add1a6 /src/mongo/db/commands/tenant_migration_donor_cmds.cpp
parentbc7b5da3d0d91eeb945f103d81f2cebd97f7d9f3 (diff)
downloadmongo-4565b6d14cf75272a6487e99aabcd05b4c290670.tar.gz
SERVER-56248 Refactor logic for aborting a tenant migration donor
Diffstat (limited to 'src/mongo/db/commands/tenant_migration_donor_cmds.cpp')
-rw-r--r--src/mongo/db/commands/tenant_migration_donor_cmds.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/commands/tenant_migration_donor_cmds.cpp b/src/mongo/db/commands/tenant_migration_donor_cmds.cpp
index 4dee89efc4b..129aa787b40 100644
--- a/src/mongo/db/commands/tenant_migration_donor_cmds.cpp
+++ b/src/mongo/db/commands/tenant_migration_donor_cmds.cpp
@@ -281,10 +281,6 @@ public:
const auto& donor = donorPtr.get().get();
- // Ensure that we only are able to run donorAbortMigration after the donor has called
- // run() and has inserted a majority committed state document for the migration.
- donor->getMigrationCancelableFuture().get(opCtx);
- donor->getInitialDonorStateDurableFuture().get(opCtx);
donor->onReceiveDonorAbortMigration();
donor->getDecisionFuture().get(opCtx);