summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_mock.h
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2022-09-16 15:08:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-16 18:11:56 +0000
commitfc8c8f31dd821369f3fc3d9afb1f7d2cbda0c138 (patch)
tree5ef45cf7f3d7a680833e7c236480db0f7f033d7d /src/mongo/db/catalog/collection_mock.h
parentbfafd4fd7fb7ef99c9a12714728a9f4a7ade4397 (diff)
downloadmongo-fc8c8f31dd821369f3fc3d9afb1f7d2cbda0c138.tar.gz
SERVER-68571 Update reaper when instantiating collection/index on expired ident
Diffstat (limited to 'src/mongo/db/catalog/collection_mock.h')
-rw-r--r--src/mongo/db/catalog/collection_mock.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_mock.h b/src/mongo/db/catalog/collection_mock.h
index d910677df43..a9dbfe10427 100644
--- a/src/mongo/db/catalog/collection_mock.h
+++ b/src/mongo/db/catalog/collection_mock.h
@@ -66,6 +66,12 @@ public:
MONGO_UNREACHABLE;
}
+ Status initFromExisting(OperationContext* opCtx,
+ std::shared_ptr<Collection> collection,
+ Timestamp readTimestamp) {
+ MONGO_UNREACHABLE;
+ }
+
RecordId getCatalogId() const {
return _catalogId;
}
@@ -96,6 +102,9 @@ public:
std::shared_ptr<Ident> getSharedIdent() const {
return std::make_shared<Ident>(_nss.toString());
}
+ void setIdent(std::shared_ptr<Ident> newIdent) {
+ MONGO_UNREACHABLE;
+ }
BSONObj getValidatorDoc() const {
MONGO_UNREACHABLE;