Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10717

New implementation of $push should log positional sets when possible

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      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.

            Assignee:
            greg.mckeon@mongodb.com Gregory McKeon (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: