summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_coordinator.h
diff options
context:
space:
mode:
authorJordi Serra Torrens <jordi.serra-torrens@mongodb.com>2021-12-30 12:18:25 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-30 12:42:27 +0000
commit8e6ab9a259d921298940190161fadfd118c6dc15 (patch)
tree12d797530f670dc101c46c2f73d23a50a52e8f5b /src/mongo/db/s/migration_coordinator.h
parentdd35d0eae5c81db28eb618ae0ae588e32a4a617a (diff)
downloadmongo-8e6ab9a259d921298940190161fadfd118c6dc15.tar.gz
SERVER-62245 MigrationRecovery must not assume that only one migration needs to be recovered
Diffstat (limited to 'src/mongo/db/s/migration_coordinator.h')
-rw-r--r--src/mongo/db/s/migration_coordinator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/s/migration_coordinator.h b/src/mongo/db/s/migration_coordinator.h
index 0c96d1eab15..88db1a68008 100644
--- a/src/mongo/db/s/migration_coordinator.h
+++ b/src/mongo/db/s/migration_coordinator.h
@@ -125,6 +125,8 @@ private:
MigrationCoordinatorDocument _migrationInfo;
bool _waitForDelete = false;
boost::optional<ExecutorFuture<void>> _releaseRecipientCriticalSectionFuture;
+ const bool _recoveringMigration =
+ false; // TODO: SERVER-62316: Can be removed after 6.0 branches out
};
} // namespace migrationutil