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

expose optional way of retrieving FieldRef's for fields that were modified by an update

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.1.6
    • Affects Version/s: None
    • Component/s: Write Ops
    • None
    • Fully Compatible
    • Query 2018-11-19, Query 2018-12-03, Query 2018-12-17
    • 37

      In stitch, we rely on invoking UpdateDriver::update() to return a FieldRefSet indicating which fields were modified by the update operation. To make this possible, we're using a patched version of 3.5.8 here: https://github.com/mpobrien/mongo/commits/stitch-update-doc

      In newer versions of the code, the modified fields are no longer available from update(). However, we'd ideally like to be to compiling against a more current version of mongo so that we get all the bug fixes and new update operators. If there was a way the modified fields could be exposed in some form in the current update code, it might make that possible for us.

      cc tess.avitabile

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: