summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
diff options
context:
space:
mode:
authorGreg McKeon <greg.mckeon@mongodb.com>2017-09-27 14:32:40 -0400
committerGreg McKeon <greg.mckeon@mongodb.com>2017-09-27 14:32:40 -0400
commit522f7f7d36a4a71059dd2d5219c2a0f074dfd0a1 (patch)
tree89a030c9bfca2b0cab00dbd5e2051dc550d43cd1 /src/mongo/db/s/migration_chunk_cloner_source_legacy.h
parent790cd20518f4aeef78780293b15842c32e7e4b55 (diff)
downloadmongo-522f7f7d36a4a71059dd2d5219c2a0f074dfd0a1.tar.gz
Revert "SERVER-30894 Implement command for transferring session information during migration"
This reverts commit 85d9721c00d7020af78fe60453f8362380fe697d.
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy.h')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
index 72d299b58e4..c072718475a 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
@@ -37,7 +37,6 @@
#include "mongo/db/query/plan_executor.h"
#include "mongo/db/s/migration_chunk_cloner_source.h"
#include "mongo/db/s/migration_session_id.h"
-#include "mongo/db/s/session_catalog_migration_source.h"
#include "mongo/s/move_chunk_request.h"
#include "mongo/s/shard_key_pattern.h"
#include "mongo/stdx/memory.h"
@@ -73,19 +72,11 @@ public:
bool isDocumentInMigratingChunk(const BSONObj& doc) override;
- void onInsertOp(OperationContext* opCtx,
- const BSONObj& insertedDoc,
- const Timestamp& oplogTs) override;
+ void onInsertOp(OperationContext* opCtx, const BSONObj& insertedDoc) override;
- void onUpdateOp(OperationContext* opCtx,
- const BSONObj& updatedDoc,
- const Timestamp& oplogTs,
- const Timestamp& prePostImageTs) override;
+ void onUpdateOp(OperationContext* opCtx, const BSONObj& updatedDoc) override;
- void onDeleteOp(OperationContext* opCtx,
- const BSONObj& deletedDocId,
- const Timestamp& oplogTs,
- const Timestamp& preImageTs) override;
+ void onDeleteOp(OperationContext* opCtx, const BSONObj& deletedDocId) override;
// Legacy cloner specific functionality
@@ -130,8 +121,6 @@ public:
*/
Status nextModsBatch(OperationContext* opCtx, Database* db, BSONObjBuilder* builder);
- void nextSessionMigrationBatch(OperationContext* opCtx, BSONArrayBuilder* arrBuilder);
-
private:
friend class DeleteNotificationStage;
friend class LogOpForShardingHandler;
@@ -194,8 +183,6 @@ private:
// during the cloning stage
std::unique_ptr<PlanExecutor, PlanExecutor::Deleter> _deleteNotifyExec;
- SessionCatalogMigrationSource _sessionCatalogSource;
-
// Protects the entries below
stdx::mutex _mutex;