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

Update doc_diff::applyDiff to determine when it can stop continually checking if the data mightBeIndexed

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-04-19, Execution Team 2021-05-03

    Description

      in timeseries collections, we often append lots of elements to array fields in the same diff when updating a bucket. Each time, we check if we check if the field mightBeIndexed. In such cases, we only really need to check once, and we can save the negative result in the same way we currently save the positive result. This will likely require changing the state from a bool to an enum with three entries (yes, no, undetermined).

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: