diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2022-03-09 19:06:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-09 20:52:32 +0000 |
commit | f0b8cf638b620660d1efff0207adff32b86dc72f (patch) | |
tree | 5af491aec61792b03b9fe76d0b8d680d5c280f5b /src/mongo/db/repl/oplog_entry.h | |
parent | 5f6cd9a3c69faef393b79e18b118b29f2cce0123 (diff) | |
download | mongo-f0b8cf638b620660d1efff0207adff32b86dc72f.tar.gz |
SERVER-63444 Make retryable findAndModify executed in internal transactions retryable across resharding
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.h')
-rw-r--r-- | src/mongo/db/repl/oplog_entry.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/repl/oplog_entry.h b/src/mongo/db/repl/oplog_entry.h index 47ca58382d7..87a946fe634 100644 --- a/src/mongo/db/repl/oplog_entry.h +++ b/src/mongo/db/repl/oplog_entry.h @@ -649,14 +649,6 @@ public: bool isForCappedCollection() const; void setIsForCappedCollection(bool isForCappedCollection); - std::shared_ptr<DurableOplogEntry> getPreImageOp() const; - void setPreImageOp(std::shared_ptr<DurableOplogEntry> preImageOp); - void setPreImageOp(const BSONObj& preImageOp); - - std::shared_ptr<DurableOplogEntry> getPostImageOp() const; - void setPostImageOp(std::shared_ptr<DurableOplogEntry> postImageOp); - void setPostImageOp(const BSONObj& postImageOp); - std::string toStringForLogging() const; /** @@ -752,12 +744,6 @@ public: private: DurableOplogEntry _entry; - - // We use std::shared_ptr<DurableOplogEntry> rather than boost::optional<DurableOplogEntry> here - // so that OplogEntries are cheaper to copy. - std::shared_ptr<DurableOplogEntry> _preImageOp; - std::shared_ptr<DurableOplogEntry> _postImageOp; - // An index of this oplog entry in the associated "applyOps" oplog entry when this entry is // extracted from an "applyOps" oplog entry. Otherwise, the index value must be 0. uint64_t _applyOpsIndex{0}; |