[SERVER-567] Assertion failure updating two fields atomically Created: 25/Jan/10 Updated: 12/Jul/16 Resolved: 25/Jan/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | 1.3.1 |
| Fix Version/s: | 1.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nick Kleinschmidt | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux x64, Mac OS x64 |
||
| Participants: |
| Description |
|
The following atomic update works on 1.3.0, but doesn't on 1.3.1. 1.3.0 , { $set : { "v" : { "i" : 123, "a":456 }}, $push : { "f" : 234} }, 1, 0 ); , { $set : { "v" : { "i" : 123, "a":456 }}, $push : { "f" : 234} }, 1, 0 ); } 1.3.1 , { $set : { "v" : { "i" : 123, "a":456 }}, $push : { "f" : 234} }, 1, 0 ); , { $set : { "v" : { "i" : 123, "a":456 }}, $push : { "f" : 234} }, 1, 0 ); } |
| Comments |
| Comment by auto [ 25/Jan/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: test for |