summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/active_migrations_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/active_migrations_registry.h')
-rw-r--r--src/mongo/db/s/active_migrations_registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/active_migrations_registry.h b/src/mongo/db/s/active_migrations_registry.h
index 971b020626d..982cb2f8b26 100644
--- a/src/mongo/db/s/active_migrations_registry.h
+++ b/src/mongo/db/s/active_migrations_registry.h
@@ -92,7 +92,7 @@ public:
*
* Takes an IS lock on the namespace of the active migration, if one is active.
*/
- BSONObj getActiveMigrationStatusReport(OperationContext* txn);
+ BSONObj getActiveMigrationStatusReport(OperationContext* opCtx);
private:
friend class ScopedRegisterDonateChunk;
@@ -194,7 +194,7 @@ public:
* Must only be called if the object is in the 'join' mode. Blocks until the main executor of
* the moveChunk command calls complete.
*/
- Status waitForCompletion(OperationContext* txn);
+ Status waitForCompletion(OperationContext* opCtx);
private:
// Registry from which to unregister the migration. Not owned.