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

Delta-updates should only validate the diff for storage

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0, 5.0.22
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0
    • QE 2021-10-18, QE 2021-11-01, QE 2021-11-15, QE 2021-11-29, QE 2021-12-13
    • 20

      Currently, the delta update applies the diff to create the full document that needs to be stored this is then validated for storage in ObjectReplaceExecutor::applyReplacementUpdate. This means that data that is already stored is validated again.

      We should be able to validate only the new data inside the docDiff.

        1. Report.pdf
          66 kB
          Nikita Lapkov

            Assignee:
            nikita.lapkov@mongodb.com Nikita Lapkov (Inactive)
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: