[SERVER-31012] expose optional way of retrieving FieldRef's for fields that were modified by an update Created: 08/Sep/17 Updated: 30/Oct/23 Resolved: 30/Nov/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.6 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Michael O'Brien | Assignee: | Nicholas Zolnierz |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Query 2018-11-19, Query 2018-12-03, Query 2018-12-17 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 37 | ||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 30/Nov/18 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: |
| Comment by Githook User [ 30/Nov/18 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: |
| Comment by Ian Whalen (Inactive) [ 19/Jan/18 ] |
|
assigning to Asya to discuss with Mike and Drew (DiPalma) about the relative importance here. |
| Comment by Ian Whalen (Inactive) [ 12/Sep/17 ] |
|
Waiting on pasette to provide some insight into how to proceed. |