diff options
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_application.h')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_oplog_application.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_application.h b/src/mongo/db/s/resharding/resharding_oplog_application.h index 4a1d16f66ca..5d6c052ed0a 100644 --- a/src/mongo/db/s/resharding/resharding_oplog_application.h +++ b/src/mongo/db/s/resharding/resharding_oplog_application.h @@ -79,16 +79,14 @@ public: private: // Applies an insert operation void _applyInsert_inlock(OperationContext* opCtx, - Database* db, - const CollectionPtr& outputColl, - const CollectionPtr& stashColl, + ScopedCollectionAcquisition& outputColl, + ScopedCollectionAcquisition& stashColl, const repl::OplogEntry& op) const; // Applies an update operation void _applyUpdate_inlock(OperationContext* opCtx, - Database* db, - const CollectionPtr& outputColl, - const CollectionPtr& stashColl, + ScopedCollectionAcquisition& outputColl, + ScopedCollectionAcquisition& stashColl, const repl::OplogEntry& op) const; // Applies a delete operation |