[SERVER-2558] memory and cursor leak in FindingStartCursor Created: 15/Feb/11  Updated: 12/Jul/16  Resolved: 16/Feb/11

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8.0-rc0

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

It looks like in many cases where createClientCursor is called, the old _findingStartCursor is orphaned rather than freed.

Also, it might be nice to ensure the FindingStartCursor destructor cleans up _findingStartCursor so we won't orphan the cursor in case of killop.



 Comments   
Comment by auto [ 16/Feb/11 ]

Author:

{u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}

Message: SERVER-2558 don't orphan client cursors in FindingStartCursor
https://github.com/mongodb/mongo/commit/5ede773a23c061b2805ad69d9abf8e6ce08f9700

Generated at Thu Feb 08 03:00:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.