summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_coordinator.h
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2020-01-24 02:34:42 +0000
committerevergreen <evergreen@mongodb.com>2020-01-24 02:34:42 +0000
commite791a2ea966bb302ff180dd4538d87c078e74747 (patch)
tree42f37fe0222fcf47acb5bd92f5d451799f193b83 /src/mongo/db/s/migration_coordinator.h
parent281973f2c819cd8dcca2b10c0637091ffdcff2c3 (diff)
downloadmongo-e791a2ea966bb302ff180dd4538d87c078e74747.tar.gz
SERVER-44162 Resume coordinating active migrations on stepup
Diffstat (limited to 'src/mongo/db/s/migration_coordinator.h')
-rw-r--r--src/mongo/db/s/migration_coordinator.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/s/migration_coordinator.h b/src/mongo/db/s/migration_coordinator.h
index a4f89ecbbc7..1f64e5af3a5 100644
--- a/src/mongo/db/s/migration_coordinator.h
+++ b/src/mongo/db/s/migration_coordinator.h
@@ -82,6 +82,11 @@ public:
*/
void completeMigration(OperationContext* opCtx);
+ /**
+ * Deletes the persistent state for this migration from config.migrationCoordinators.
+ */
+ void forgetMigration(OperationContext* opCtx);
+
private:
/**
* Deletes the range deletion task from the recipient node and marks the range deletion task on
@@ -95,11 +100,6 @@ private:
*/
void _abortMigrationOnDonorAndRecipient(OperationContext* opCtx);
- /**
- * Deletes the persistent state for this migration from config.migrationCoordinators.
- */
- void _forgetMigration(OperationContext* opCtx);
-
// The decision of the migration commit against the config server.
boost::optional<Decision> _decision;