[SERVER-9139] cursor leak in mongos of unsharded cursors Created: 26/Mar/13  Updated: 11/Jul/16  Resolved: 27/Mar/13

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.0.8, 2.2.3, 2.4.1
Fix Version/s: 2.4.2, 2.5.0

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

Issue Links:
Related
related to SERVER-9141 sharded CursorCache should timeout un... Closed
related to SERVER-9534 mongos v2.4.0 eats all memory, possib... Closed
Operating System: ALL
Steps To Reproduce:

itcount() lots of unsharded cursors with getMore() via mongos.

Participants:

 Description   

Unsharded cursors run via mongos don't clean up refs in the CursorCache map unless explicitly kill'd. See strategy_shard::getMore().



 Comments   
Comment by Greg Studer [ 07/May/13 ]

Not the 2.2.4 release, under discussion for 2.2 branch in general, however.

Comment by Fredrik Björk [ 31/Mar/13 ]

Will this make it to the 2.2.4 release as well?

Comment by auto [ 29/Mar/13 ]

Author:

{u'date': u'2013-03-27T20:24:51Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-9139 test cursor cleanup in mongos
Branch: v2.4
https://github.com/mongodb/mongo/commit/6d7ac05ea28a7c0f28eefa03de4305ec48b9ebe2

Comment by auto [ 29/Mar/13 ]

Author:

{u'date': u'2013-03-26T20:54:49Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-9139 clean up unsharded cursors in CursorCache
Branch: v2.4
https://github.com/mongodb/mongo/commit/bca711f26fc6a76220fb420f5fe83cad7384f423

Comment by auto [ 27/Mar/13 ]

Author:

{u'date': u'2013-03-27T20:24:51Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-9139 test cursor cleanup in mongos
Branch: master
https://github.com/mongodb/mongo/commit/ff6348dd229e9c15f46cba3f5419a1ef3d8a1cad

Comment by auto [ 27/Mar/13 ]

Author:

{u'date': u'2013-03-26T20:54:49Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-9139 clean up unsharded cursors in CursorCache
Branch: master
https://github.com/mongodb/mongo/commit/ca31c2c178b1105b75939179757e05e277e958b7

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