summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_mock.h
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2017-04-28 18:01:46 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2017-04-28 18:01:46 -0400
commitb1054a04df0182fa6e4ccef53eefff90616aeea3 (patch)
tree0e8bf9f8dd420dbc6eb0724d2235dc6668fc8e3e /src/mongo/db/repl/storage_interface_mock.h
parent17807063eab1387023719e818c266dd31d16a0d0 (diff)
downloadmongo-b1054a04df0182fa6e4ccef53eefff90616aeea3.tar.gz
Revert "SERVER-27659 Persist Rollback Id"
This reverts commit ac6f185017f76cc7124373e97a2c55291d5c8956.
Diffstat (limited to 'src/mongo/db/repl/storage_interface_mock.h')
-rw-r--r--src/mongo/db/repl/storage_interface_mock.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/db/repl/storage_interface_mock.h b/src/mongo/db/repl/storage_interface_mock.h
index 17a17b20b87..33b25731dcb 100644
--- a/src/mongo/db/repl/storage_interface_mock.h
+++ b/src/mongo/db/repl/storage_interface_mock.h
@@ -129,9 +129,6 @@ public:
OpTime getMinValid(OperationContext* opCtx) const override;
void setMinValid(OperationContext* opCtx, const OpTime& minValid) override;
void setMinValidToAtLeast(OperationContext* opCtx, const OpTime& minValid) override;
- StatusWith<int> getRollbackID(OperationContext* opCtx) override;
- Status initializeRollbackID(OperationContext* opCtx) override;
- Status incrementRollbackID(OperationContext* opCtx) override;
void setOplogDeleteFromPoint(OperationContext* opCtx, const Timestamp& timestamp) override;
Timestamp getOplogDeleteFromPoint(OperationContext* opCtx) override;
void setAppliedThrough(OperationContext* opCtx, const OpTime& optime) override;
@@ -218,7 +215,7 @@ public:
const NamespaceString& nss,
const BSONElement& idKey,
const BSONObj& update) override {
- return Status{ErrorCodes::IllegalOperation, "upsertById not implemented."};
+ return Status{ErrorCodes::IllegalOperation, "upsertbyId not implemented."};
}
Status deleteByFilter(OperationContext* opCtx,
@@ -301,8 +298,6 @@ private:
mutable stdx::mutex _minValidBoundariesMutex;
OpTime _appliedThrough;
OpTime _minValid;
- int _rbid;
- bool _rbidInitialized = false;
Timestamp _oplogDeleteFromPoint;
};