[SERVER-74955] Refactor TS_MODIFY to unpack and write bucket in a single call Created: 16/Mar/23  Updated: 29/Oct/23  Resolved: 23/Mar/23

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

Type: Improvement Priority: Major - P3
Reporter: Alyssa Clark 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-73093 Add retry capabilities to TS_WRITE fo... Closed
Duplicate
is duplicated by SERVER-75364 deleteMany() on a timeseries collecti... Closed
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-04-03
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 23/Mar/23 ]

Author:

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

Message: SERVER-74955 Refactor TS_MODIFY to unpack and write a bucket in one doWork() call
Branch: master
https://github.com/mongodb/mongo/commit/27f17569feb62dc075f1e733bc1d7b53ed226ea9

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