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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Querying
    • Fully Compatible
    • Query 2020-08-24

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: