summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/external_record_store.h
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2022-12-29 20:41:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-29 21:13:44 +0000
commit96573561ca19babfc0fa5f535c6cec095e703ebc (patch)
treeb82a8c064b3584154efd3122f5f36fb0c928d814 /src/mongo/db/storage/external_record_store.h
parente836af153c045bee380646c9c8f3715cabfe73ed (diff)
downloadmongo-96573561ca19babfc0fa5f535c6cec095e703ebc.tar.gz
SERVER-66283 Correct tailable cursor support on unreplicated capped collections
This corrects previously incorrect behavior where tailable cursors on unreplicated capped collections like the profile collection could miss writes This pushes non-oplog capped collection visibility logic outside of the storage engine layer
Diffstat (limited to 'src/mongo/db/storage/external_record_store.h')
-rw-r--r--src/mongo/db/storage/external_record_store.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/storage/external_record_store.h b/src/mongo/db/storage/external_record_store.h
index ac0c61392c6..58a29d2a66c 100644
--- a/src/mongo/db/storage/external_record_store.h
+++ b/src/mongo/db/storage/external_record_store.h
@@ -138,6 +138,12 @@ protected:
unimplementedTasserted();
}
+ void reserveRecordIds(OperationContext* opCtx,
+ std::vector<RecordId>* out,
+ size_t nRecords) final {
+ unimplementedTasserted();
+ }
+
private:
void unimplementedTasserted() const {
MONGO_UNIMPLEMENTED_TASSERT(6968600);