[SERVER-48920] Use document deltas to determine whether update affects indexes while applying diff Created: 17/Jun/20 Updated: 29/Oct/23 Resolved: 14/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ian Boros | Assignee: | Arun Banala |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2020-08-24 |
| Participants: |
| Description |
|
When applying replacement and pipeline updates, we conservatively assume that all indexes associated with the document need to be updated. Once document diffing is in place for pipeline based updates we can use the diff to determine which fields changed and whether indexes need to be updated.
|
| Comments |
| Comment by Githook User [ 13/Aug/20 ] |
|
Author: {'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}Message: |