diff options
Diffstat (limited to 'src/mongo/db/s/collection_sharding_state.h')
-rw-r--r-- | src/mongo/db/s/collection_sharding_state.h | 12 |
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: |