[SERVER-75547] Filter out closed buckets in bucket-level predicate for timeseries deletes Created: 31/Mar/23  Updated: 29/Oct/23  Resolved: 06/Apr/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:
Related
is related to SERVER-75152 Skip deleting or updating time-series... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Currently, buckets with control.closed set reach the TS_MODIFY stage before they are filtered out. We can do better than this by including {}{control.closed: {$not: {$eq: true}}} in the bucket-level predicate so that they get filtered out earlier.



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

Author:

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

Message: SERVER-75547 Filter out closed buckets in bucket-level predicate for timeseries deletes
Branch: master
https://github.com/mongodb/mongo/commit/d4426ec24af567f478f9567933b1a83df004b12f

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