[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.

 

See this code and this code.



 Comments   
Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: SERVER-48920 Use document deltas to determine whether update affects indexes
Branch: master
https://github.com/mongodb/mongo/commit/a41abb64d17f09f7c6ad48bc39730d3fc25fc2ed

Generated at Thu Feb 08 05:18:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.