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

New implementation of $push should log positional sets when possible

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.5.3
    • None
    • None
    • Fully Compatible

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: