summaryrefslogtreecommitdiff
path: root/src/mongo/db/cursor_manager.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2019-01-30 12:18:50 -0500
committerDavid Storch <david.storch@10gen.com>2019-01-31 08:31:49 -0500
commit1d644fa898de455bb160200e198c6895d5590409 (patch)
tree2e9b55642b1bcab7fcfa0ad34f3ff4415dfde4d8 /src/mongo/db/cursor_manager.h
parente05ffdc10eb680dfbbf043678779aa4aac92bb0c (diff)
downloadmongo-1d644fa898de455bb160200e198c6895d5590409.tar.gz
SERVER-38288 Delete CursorManager::invalidateAll().
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.