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

Add multi-update ability for TS_WRITE (limited)

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible

      We're starting with deletes in SERVER-73077. This should be an extension of that logic but not a small task. Here we'll need to add similar changes to the setup code in creating the ParsedUpdate and to change getExecutoreUpdate()

      Because this change will affect all those other places in addition to TS_WRITE, we'll split out the following into follow-up tasks:

      • SERVER-73143: support modifier and pipeline updates for TS_WRITE. This ticket should just do replacement-style - which I hypothesize is easiest.

      As part of this ticket, it's worth considering whether TS_WRITE is getting too bulky and can be refactored into TS_DELETE and TS_UPDATE. I'm very unsure if that would make things better or worse. They would share a lot of code, but I'm worried about having 100 member variables and a very confusing control flow.

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

              Created:
              Updated:
              Resolved: