[SERVER-717] $inc not transformed to $set if it creates a field Created: 08/Mar/10 Updated: 12/Jul/16 Resolved: 08/Mar/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
> db.c.remove({_id:0}) , {'$inc': {'z':1}}) { "ts" : { "t" : 1268077684000, "i" : 1 }, "op" : "u", "ns" : "test.c", "o2" : { "_id" : 0 }, "o" : { "$inc" : { "z" : 1 }} } |
| Comments |
| Comment by auto [ 08/Mar/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: fix idempotency of initial $inc |