[SERVER-10717] New implementation of $push should log positional sets when possible Created: 09/Sep/13 Updated: 02/Aug/18 Resolved: 18/Sep/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Gregory McKeon (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
The new implementation of $push does not log positional $sets for those cases where it is possible. Instead, it currently always logs the entire array. The mod should be updated to do positional sets in the oplog when doing so is known to be safe, including at least the cases for which the old implementation used positional sets. Also do $addToSet as well. |
| Comments |
| Comment by auto [ 18/Sep/13 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |