[SERVER-17387] invalid projection for findAndModify triggers fassert() failure Created: 26/Feb/15 Updated: 18/Sep/15 Resolved: 09/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 3.0.0-rc11 |
| Fix Version/s: | 3.0.1, 3.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | David Storch |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Operating System: | Linux | ||||||||||||||||||||||||||||||||
| Backport Completed: | |||||||||||||||||||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
| Comments |
| Comment by Githook User [ 09/Mar/15 ] |
|
Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}Message: (cherry picked from commit 98276a11bdbd5ef863f0fead63c14f5a7a13440d) |
| Comment by Githook User [ 09/Mar/15 ] |
|
Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}Message: |
| Comment by Githook User [ 02/Mar/15 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: Skip findAndModify error tests until |
| Comment by Githook User [ 02/Mar/15 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: Skip findAndModify error tests until |
| Comment by David Storch [ 26/Feb/15 ] |
|
Find and modify uses an old Projection implementation which throws user assertions if the user-provided projection is invalid. Such a user assertion from find and modify can cause the rollback of a logOp(), which is currently invalid in 3.0. Since logOp() rollback is allowed in master, this affects only the 3.0 branch. |
| Comment by Hannes Magnusson [ 26/Feb/15 ] |
|
The repro works as expected in RC7. |