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

Refactor TS_MODIFY to unpack and write bucket in a single call

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • Execution Team 2023-04-03

      Unpacking the bucket across multiple calls before writing to it in TS_MODIFY can result in an infinite loop if internalQueryExecYieldIterations is less than the number of measurements in the bucket. We should refactor TS_MODIFY to receive, unpack, and write the bucket in a single doWork() call - this aligns more closely with existing delete/update stages.

            Assignee:
            alyssa.clark@mongodb.com Alyssa Clark
            Reporter:
            alyssa.clark@mongodb.com Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: