[SERVER-24196] mapReduce command can unpin a ClientCursor out of the collection lock Created: 18/May/16  Updated: 09/Dec/16  Resolved: 23/May/16

Status: Closed
Project: Core Server
Component/s: MapReduce, Querying
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Bug Priority: Critical - P2
Reporter: David Storch Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-23621 mapReduce with output collection writ... Closed
Related
is related to SERVER-27362 MapReduce can attempt to deregister a... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.2
Sprint: Query 15 (06/03/16)
Participants:
Linked BF Score: 0

 Description   

This leads to a race condition in which the mapReduce command can attempt to access the Collection's cursor manager after it has been destroyed. This can lead to the server shutting down with a segmentation fault, though I suspect the probability of such an event occurring is low.



 Comments   
Comment by Githook User [ 23/May/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-24196 ensure mapReduce safely frees its RangePreserver
Branch: master
https://github.com/mongodb/mongo/commit/ff5bdd3321d525dd9d56595330b2ea6b98a2b87f

Generated at Thu Feb 08 04:05:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.