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

Remove small field optimization of damages computation

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-09-19

    Description

      There is a small field optimization whenever we compute damages that will treat the field + value as part of a damage. This is meant to reduce the total number of damages as it would help merge nearby damages if they are only separated by a small field.

      However, this can cause potential runoffs if all the fields are considered small, leading to all of them being considered as part of a damage. In some instances this can cause a single damage to contain 90%+ of the original document even if it only modified a few bytes initially.

      To avoid this the optimization should be removed.

      Attachments

        Activity

          People

            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: