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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-04-19, Execution Team 2021-05-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

              Assignee:
              Gregory Noma
              Reporter:
              Dan Larkin-York
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: