summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection.h')
-rw-r--r--src/mongo/db/catalog/collection.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mongo/db/catalog/collection.h b/src/mongo/db/catalog/collection.h
index d593c058954..fce9ba050d7 100644
--- a/src/mongo/db/catalog/collection.h
+++ b/src/mongo/db/catalog/collection.h
@@ -181,13 +181,13 @@ private:
* this is NOT safe through a yield right now.
* not sure if it will be, or what yet.
*/
-class Collection final : CappedCallback, UpdateNotifier {
+class Collection final : CappedCallback {
public:
enum ValidationAction { WARN, ERROR_V };
enum ValidationLevel { OFF, MODERATE, STRICT_V };
enum class StoreDeletedDoc { Off, On };
- class Impl : virtual CappedCallback, virtual UpdateNotifier {
+ class Impl : virtual CappedCallback {
public:
virtual ~Impl() = 0;
@@ -203,9 +203,6 @@ public:
const RecordId& loc,
RecordData data) = 0;
- virtual Status recordStoreGoingToUpdateInPlace(OperationContext* opCtx,
- const RecordId& loc) = 0;
-
public:
virtual bool ok() const = 0;
@@ -744,11 +741,6 @@ private:
return this->_impl().aboutToDeleteCapped(opCtx, loc, data);
}
- inline Status recordStoreGoingToUpdateInPlace(OperationContext* const opCtx,
- const RecordId& loc) final {
- return this->_impl().recordStoreGoingToUpdateInPlace(opCtx, loc);
- }
-
// This structure exists to give us a customization point to decide how to force users of this
// class to depend upon the corresponding `collection.cpp` Translation Unit (TU). All public
// forwarding functions call `_impl(), and `_impl` creates an instance of this structure.