[SERVER-61657] Last point TS Opt M3: Query rewrite for {meta: -1, ts: -1} case Created: 19/Nov/21  Updated: 29/Oct/23  Resolved: 15/Mar/22

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

Type: New Feature Priority: Major - P3
Reporter: Ruslan Abdulkhalikov (Inactive) Assignee: Backlog - Query Optimization
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-61654 Implement the Last point on timeserie... Closed
is depended on by SERVER-61659 TS Last Point opt: final test plan re... Closed
Related
is related to SERVER-64235 Last point TS Opt M3: Query rewrite f... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Participants:

 Description   

This should be a straightforward mirroring of what was done for SERVER-61654.  We'll do a query rewrite to get a DISTINCT_SCAN from the existing $sort+$group+$last optimization.



 Comments   
Comment by Steve Tarzia [ 15/Mar/22 ]

Fixed by earlier work in this epic and tested by SERVER-64235 

Generated at Thu Feb 08 05:53:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.