summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/kv
diff options
context:
space:
mode:
authorHaley Connelly <haley.connelly@mongodb.com>2022-09-19 15:07:32 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-19 16:42:51 +0000
commitbbfaa9d5ddd2eb3c6337a4d50bac0c853c9e3948 (patch)
treed938f482e60e869fc4838d593b53142164769e29 /src/mongo/db/storage/kv
parentc9fe899fff347770c0e30fa0272f6157be6676a8 (diff)
downloadmongo-bbfaa9d5ddd2eb3c6337a4d50bac0c853c9e3948.tar.gz
SERVER-67290 Support repair on clustered collections with missing _mdb_catalog
Diffstat (limited to 'src/mongo/db/storage/kv')
-rw-r--r--src/mongo/db/storage/kv/kv_engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/storage/kv/kv_engine.h b/src/mongo/db/storage/kv/kv_engine.h
index 557a568d3d3..2f26769228a 100644
--- a/src/mongo/db/storage/kv/kv_engine.h
+++ b/src/mongo/db/storage/kv/kv_engine.h
@@ -457,6 +457,13 @@ public:
};
/**
+ * Returns the 'KeyFormat' tied to 'ident'.
+ */
+ virtual KeyFormat getKeyFormat(OperationContext* opCtx, StringData ident) const {
+ MONGO_UNREACHABLE;
+ }
+
+ /**
* The destructor will never be called from mongod, but may be called from tests.
* Engines may assume that this will only be called in the case of clean shutdown, even if
* cleanShutdown() hasn't been called.