[SERVER-6996] findAndModify triggering assertion but still modifying record Created: 10/Sep/12 Updated: 10/Sep/12 Resolved: 10/Sep/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Stephen Lee | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
I successfully replicated the following error reported on GG: https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/0V8Irg2rZgI ------------------------------ i test the code in mongo shell,and php driver, get the same result it seems like some bug happened on server ===== , "money" : 450 } , , }, , //the data was modified db.s1_users.findOne({_id:80,'money':{'$gte':50}}); , "money" : 400 } if i remove the query condition it worked . |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 10/Sep/12 ] |