summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_destination_manager.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-09-19 14:44:36 -0400
committerRandolph Tan <randolph@10gen.com>2017-09-26 19:11:04 -0400
commit85d9721c00d7020af78fe60453f8362380fe697d (patch)
tree197240934bc6e849964449587234b526916e512d /src/mongo/db/s/migration_destination_manager.h
parent457ecaf9ca73456df43e442ddd758b9067a6a002 (diff)
downloadmongo-85d9721c00d7020af78fe60453f8362380fe697d.tar.gz
SERVER-30894 Implement command for transferring session information during migration
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager.h')
-rw-r--r--src/mongo/db/s/migration_destination_manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.h b/src/mongo/db/s/migration_destination_manager.h
index 610f70196c1..49c6f1e5089 100644
--- a/src/mongo/db/s/migration_destination_manager.h
+++ b/src/mongo/db/s/migration_destination_manager.h
@@ -39,6 +39,7 @@
#include "mongo/db/s/active_migrations_registry.h"
#include "mongo/db/s/collection_sharding_state.h"
#include "mongo/db/s/migration_session_id.h"
+#include "mongo/db/s/session_catalog_migration_destination.h"
#include "mongo/s/shard_id.h"
#include "mongo/stdx/condition_variable.h"
#include "mongo/stdx/mutex.h"
@@ -211,6 +212,8 @@ private:
State _state{READY};
std::string _errmsg;
+
+ std::unique_ptr<SessionCatalogMigrationDestination> _sessionMigration;
};
} // namespace mongo