diff options
Diffstat (limited to 'src/mongo/db/s/migration_coordinator.h')
-rw-r--r-- | src/mongo/db/s/migration_coordinator.h | 10 |
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; |