summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2020-06-30 12:36:57 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-18 14:51:11 +0000
commit456b0e3ff9c319f494f6defcf62315cd17f8d3a6 (patch)
treeeaffcb7a5e3214ea075bdfa8c642f5f2ae728a78 /src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h
parent69c8bfec89840552ad3a0d2b16e465bb2c68c8cd (diff)
downloadmongo-456b0e3ff9c319f494f6defcf62315cd17f8d3a6.tar.gz
SERVER-49731 Create an Ident base class for RecordStore and SortedDataInterface and thread a shared_ptr<Ident> through to the KVDropPendingIdentReaper on drop collection/index.
Diffstat (limited to 'src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h')
-rw-r--r--src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h b/src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h
index a29bc0fa014..91e6bb3635e 100644
--- a/src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h
+++ b/src/mongo/db/storage/devnull/ephemeral_catalog_record_store.h
@@ -49,6 +49,7 @@ namespace mongo {
class EphemeralForTestRecordStore : public RecordStore {
public:
explicit EphemeralForTestRecordStore(StringData ns,
+ StringData identName,
std::shared_ptr<void>* dataInOut,
bool isCapped = false,
int64_t cappedMaxSize = -1,
@@ -57,10 +58,6 @@ public:
virtual const char* name() const;
- const std::string& getIdent() const override {
- return ns();
- }
-
virtual RecordData dataFor(OperationContext* opCtx, const RecordId& loc) const;
virtual bool findRecord(OperationContext* opCtx, const RecordId& loc, RecordData* rd) const;