[SERVER-16469] findAndModify with sort exceeds internal sort memory limit, silently fails Created: 09/Dec/14 Updated: 18/Dec/14 Resolved: 09/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | J Rassi |
| Resolution: | Done | Votes: | 0 |
| Labels: | 28qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | |||||||||||||||||||||||||||||
| Operating System: | ALL | |||||||||||||||||||||||||||||
| Steps To Reproduce: | Start up a mongod (with mmapv1 or wiredtiger) and run the following script:
|
|||||||||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||||||||
| Description |
|
When performing insert operations between findAndModify commands, a findAndModify will eventually fail to find a document to update, even though the query predicate remains the same. This failure only seems to occur when a sort specification is supplied. git version |
| Comments |
| Comment by J Rassi [ 09/Dec/14 ] |
|
max.hirschhorn@10gen.com (and company): great find. |
| Comment by Githook User [ 09/Dec/14 ] |
|
Author: {u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}Message: This allows findAndModify operations that include a sort to take |
| Comment by Githook User [ 09/Dec/14 ] |
|
Author: {u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}Message: Previously, findAndModify ignored errors encountered in calls to |