[SERVER-5067] Update using positional operator fails with indexed query Created: 24/Feb/12 Updated: 11/Jul/16 Resolved: 23/Mar/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Write Ops |
| Affects Version/s: | 2.1.0 |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Phillip Markert | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
64-bit Windows 7 |
||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
Attempting to perform an update operation using the positional operator and an indexed query fails. I have verified that this same example worked under 2.0.0. Example: [Starting with an empty database] MongoDB shell version: 2.1.0 ] } ) , { $inc : { "ArrayField.$.Count" : 1 } } ) ] } ) , { $inc : { "ArrayField.$.Count" : 1 } } ) |
| Comments |
| Comment by auto [ 23/Mar/12 ] |
|
Author: {u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}Message: |
| Comment by auto [ 23/Mar/12 ] |
|
Author: {u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}Message: |
| Comment by auto [ 23/Mar/12 ] |
|
Author: {u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}Message: |