summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/database_impl.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2019-01-17 10:36:29 -0500
committerDavid Storch <david.storch@10gen.com>2019-01-23 21:18:45 -0500
commit84b142d5123c06212ce7a2e495ae8afe48eb65cb (patch)
treee267b75425b6b61c863d73276a7be137f4109fc9 /src/mongo/db/catalog/database_impl.h
parent869b3b64a898076ff98405fa70403084417cb164 (diff)
downloadmongo-84b142d5123c06212ce7a2e495ae8afe48eb65cb.tar.gz
SERVER-37455 Delete per-collection cursor managers.
Diffstat (limited to 'src/mongo/db/catalog/database_impl.h')
-rw-r--r--src/mongo/db/catalog/database_impl.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mongo/db/catalog/database_impl.h b/src/mongo/db/catalog/database_impl.h
index 2130cdd9ce5..57af3693296 100644
--- a/src/mongo/db/catalog/database_impl.h
+++ b/src/mongo/db/catalog/database_impl.h
@@ -47,7 +47,7 @@ public:
// closes files and other cleanup see below.
- void close(OperationContext* opCtx, const std::string& reason) final;
+ void close(OperationContext* opCtx) final;
const std::string& name() const final {
return _name;
@@ -187,16 +187,6 @@ private:
const CollectionOptions& options);
/**
- * Deregisters and invalidates all cursors on collection 'fullns'. Callers must specify
- * 'reason' for why the cache is being cleared. If 'collectionGoingAway' is false,
- * unpinned cursors will not be killed.
- */
- void _clearCollectionCache(OperationContext* opCtx,
- StringData fullns,
- const std::string& reason,
- bool collectionGoingAway);
-
- /**
* Completes a collection drop by removing all the indexes and removing the collection itself
* from the storage engine.
*