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

Use document deltas to determine whether update affects indexes while applying diff

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Fully Compatible
    • Query 2020-08-24

      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.

            Assignee:
            arun.banala@mongodb.com Arun Banala
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: