summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_catalog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/index_catalog.cpp')
-rw-r--r--src/mongo/db/catalog/index_catalog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/index_catalog.cpp b/src/mongo/db/catalog/index_catalog.cpp
index 3919ce67704..d7639b744a8 100644
--- a/src/mongo/db/catalog/index_catalog.cpp
+++ b/src/mongo/db/catalog/index_catalog.cpp
@@ -702,7 +702,7 @@ namespace {
// there may be pointers pointing at keys in the btree(s). kill them.
// TODO: can this can only clear cursors on this index?
- _collection->cursorCache()->invalidateAll( false );
+ _collection->cursorManager()->invalidateAll( false );
// make sure nothing in progress
massert( 17348,
@@ -802,7 +802,7 @@ namespace {
// there may be pointers pointing at keys in the btree(s). kill them.
// TODO: can this can only clear cursors on this index?
- _collection->cursorCache()->invalidateAll( false );
+ _collection->cursorManager()->invalidateAll( false );
// wipe out stats
_collection->infoCache()->reset(txn);
@@ -1046,7 +1046,7 @@ namespace {
// Notify other users of the IndexCatalog that we're about to invalidate 'oldDesc'.
const bool collectionGoingAway = false;
- _collection->cursorCache()->invalidateAll( collectionGoingAway );
+ _collection->cursorManager()->invalidateAll( collectionGoingAway );
// Delete the IndexCatalogEntry that owns this descriptor. After deletion, 'oldDesc' is
// invalid and should not be dereferenced.