[SERVER-16097] DeleteStageParams should include the namespace string Created: 11/Nov/14 Updated: 22/Feb/16 Resolved: 04/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Greg Studer | Assignee: | Max Hirschhorn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Query 10 (02/22/16) |
| Participants: |
| Description |
|
Recovery from yield of the Delete stage triggers a check of whether or not the mongod process is still master - this accesses the underlying collection's namespace at _collection->ns(). In the case of an EOF namespace, this may trigger a segfault - though this should be very rare since it would require an auto-yield before any operation had occurred. Update stage may be similarly affected. |
| Comments |
| Comment by Githook User [ 04/Feb/16 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: A plan stage should only yield if the collection exists. |