diff options
author | Paolo Polato <paolo.polato@mongodb.com> | 2021-06-18 07:49:12 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-21 15:14:59 +0000 |
commit | c855011857e09e31498acf8a45fab630589aaf7c (patch) | |
tree | dfd4a902e2d94ad3d48bca203c1fb953c090dc6b /src/mongo/db/s/migration_destination_manager.h | |
parent | a3caa74ad14fbe1bbbb68382548393a3db29fdb1 (diff) | |
download | mongo-c855011857e09e31498acf8a45fab630589aaf7c.tar.gz |
SERVER-56307 fix the convergence criteria to end the catchup phase
(cherry picked from commit 49209fc34e19bbb15405b0927e38ff3e7d9e9dc5)
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 b90a56f52f1..5559b75ace9 100644 --- a/src/mongo/db/s/migration_destination_manager.h +++ b/src/mongo/db/s/migration_destination_manager.h @@ -85,7 +85,6 @@ public: static MigrationDestinationManager* get(OperationContext* opCtx); State getState() const; - void setState(State newState); /** * Checks whether the MigrationDestinationManager is currently handling a migration. @@ -181,6 +180,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. */ |