[SERVER-78233] Remove post filter for $match with timeField predicates for fixed bucketing Created: 20/Jun/23  Updated: 29/Oct/23  Resolved: 27/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Gil Alon Assignee: Gil Alon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-79362 Move exec/timeseries files that do no... Closed
Backwards Compatibility: Fully Compatible
Sprint: QI 2023-06-26, QI 2023-07-10, QI 2023-07-24, QI 2023-08-07
Participants:

 Description   

A query with a predicate on the timeField that 

  1. matches the rounding parameter set by bucketMaxSpanSeconds and bucketRoundingSeconds
  2. those parameters have not been changed

can be rewritten as a predicate on the control.min.time field. This ticket should also handle updating the index bounds on clustered index scan to be not subtracted by bucketMaxSpanSeconds



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

Author:

{'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}

Message: SERVER-78233 remove filters in match queries with fixed buckets
Branch: master
https://github.com/mongodb/mongo/commit/677aa640cf79a0b3efe085448ae5f776e01e123b

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