summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_sharding_state.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/collection_sharding_state.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/collection_sharding_state.h')
-rw-r--r--src/mongo/db/s/collection_sharding_state.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mongo/db/s/collection_sharding_state.h b/src/mongo/db/s/collection_sharding_state.h
index 6f9722dceb9..5aa44336f70 100644
--- a/src/mongo/db/s/collection_sharding_state.h
+++ b/src/mongo/db/s/collection_sharding_state.h
@@ -49,7 +49,6 @@ struct ChunkVersion;
class CollectionMetadata;
class MigrationSourceManager;
class OperationContext;
-class Timestamp;
/**
* Contains all sharding-related runtime state for a given collection. One such object is assigned
@@ -224,17 +223,12 @@ public:
*
* The global exclusive lock is expected to be held by the caller of any of these functions.
*/
- void onInsertOp(OperationContext* opCtx, const BSONObj& insertedDoc, const Timestamp& oplogTs);
+ void onInsertOp(OperationContext* opCtx, const BSONObj& insertedDoc);
void onUpdateOp(OperationContext* opCtx,
const BSONObj& query,
const BSONObj& update,
- const BSONObj& updatedDoc,
- const Timestamp& oplogTs,
- const Timestamp& prePostImageTs);
- void onDeleteOp(OperationContext* opCtx,
- const DeleteState& deleteState,
- const Timestamp& oplogTs,
- const Timestamp& preImageTs);
+ const BSONObj& updatedDoc);
+ void onDeleteOp(OperationContext* opCtx, const DeleteState& deleteState);
void onDropCollection(OperationContext* opCtx, const NamespaceString& collectionName);
private: