From 586783b081a0638ad05149de521ca269b6299add Mon Sep 17 00:00:00 2001 From: Tony Hannan Date: Tue, 15 Jun 2010 21:54:29 -0400 Subject: [PATCH] added TODO: kill cursors on shutdown --- TODO | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TODO b/TODO index 692ebe9..bd4a68c 100644 --- a/TODO +++ b/TODO @@ -39,6 +39,8 @@ MongoDB - Update If Current (http://www.mongodb.org/display/DOCS/Atomic+Operations) - block write until written on N replicas - lazyRest on cursor, although lazy I/) is problematic and we may not want to support it. +- Upon client exit, send killCursors for all open cursors, otherwise server will keep them open for 10 minutes and keep NoCursorTimeout cursors open for hours. +-- Upon cursor finalize (garbage collect) send killCursor even if you have to create a new connection, because server keeps cursors open for 10 minutes (or more). optional: - automatic reconnection