summaryrefslogtreecommitdiff
path: root/src/mongo/db/cursor_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/cursor_manager.h')
-rw-r--r--src/mongo/db/cursor_manager.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mongo/db/cursor_manager.h b/src/mongo/db/cursor_manager.h
index d0e89e1e6de..7a4dadba465 100644
--- a/src/mongo/db/cursor_manager.h
+++ b/src/mongo/db/cursor_manager.h
@@ -137,16 +137,11 @@ public:
CursorManager();
- ~CursorManager();
-
/**
- * This method is deprecated. Do not add new call sites.
- *
- * TODO SERVER-38288: Delete this method.
+ * Destroys the cursor manager, deleting all managed cursors. Illegal to call if any managed
+ * cursor is pinned.
*/
- void invalidateAll(OperationContext* opCtx,
- bool collectionGoingAway,
- const std::string& reason);
+ ~CursorManager();
/**
* Destroys cursors that have been inactive for too long.