[SERVER-73142] Add multi-update ability for TS_WRITE (limited) Created: 20/Jan/23  Updated: 29/Oct/23  Resolved: 27/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Charlie Swanson Assignee: Alyssa Clark
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-73077 Add TS_WRITE stage which supports mul... Closed
depends on SERVER-73073 Refactor existing time-series deletes... Closed
is depended on by SERVER-73143 Add modifier and pipeline style updat... Closed
is depended on by SERVER-73145 Add support for TS_WRITE updateOne() Closed
is depended on by SERVER-74437 Implement spilling to disk in new cla... Closed
Issue split
split to SERVER-76452 Implement the basic write logic for t... Closed
Related
related to SERVER-76625 Support basic updates in TS_MODIFY Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 27/Apr/23 ]

Author:

{'name': 'Alyssa Wagenmaker', 'email': 'alyssa.wagenmaker@mongodb.com', 'username': 'awagenmaker'}

Message: SERVER-73142 Stub out timeseries arbitrary multi-updates
Branch: master
https://github.com/mongodb/mongo/commit/1986e999fb257eb01d54c351ad0d1168171b74d4

Generated at Thu Feb 08 06:23:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.