diff options
author | Louis Williams <louis.williams@mongodb.com> | 2022-12-29 20:41:13 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-12-29 21:13:44 +0000 |
commit | 96573561ca19babfc0fa5f535c6cec095e703ebc (patch) | |
tree | b82a8c064b3584154efd3122f5f36fb0c928d814 /src/mongo/db/storage/external_record_store.h | |
parent | e836af153c045bee380646c9c8f3715cabfe73ed (diff) | |
download | mongo-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.h | 6 |
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); |