diff options
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager.h')
-rw-r--r-- | src/mongo/db/s/migration_destination_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.h b/src/mongo/db/s/migration_destination_manager.h index a48f1def197..36a1eab7a00 100644 --- a/src/mongo/db/s/migration_destination_manager.h +++ b/src/mongo/db/s/migration_destination_manager.h @@ -81,7 +81,6 @@ public: static MigrationDestinationManager* get(OperationContext* opCtx); State getState() const; - void setState(State newState); /** * Checks whether the MigrationDestinationManager is currently handling a migration. @@ -146,6 +145,8 @@ private: void _setStateFail(StringData msg); void _setStateFailWarn(StringData msg); + void _setState(State newState); + /** * Thread which drives the migration apply process on the recipient side. */ |