[SERVER-60702] Enable bounded collection scans for collections clustered by arbitrary cluster keys Created: 14/Oct/21  Updated: 29/Oct/23  Resolved: 18/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

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

Issue Links:
Depends
depends on SERVER-60726 Add clusteredInfo to QueryPlannerParams Closed
is depended on by SERVER-60838 Validate TTL document expiration on c... Closed
Duplicate
is duplicated by SERVER-60122 Bounded collection scans are performe... Closed
Related
related to SERVER-60537 Support clustering by single-field ar... Closed
related to SERVER-60807 Validate $hinting the clusterKey on a... Closed
is related to SERVER-60121 Enable $hint to use the clusterKey of... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-11-15, Execution Team 2021-11-29
Participants:

 Description   

Bounded collection scans for clustered collections currently assume that the collection is clustered by _id.

Add support for arbitrary cluster keys. Other than enabling efficient collection scans against a cluster key predicate, this will also enable _id lookups.



 Comments   
Comment by Githook User [ 18/Nov/21 ]

Author:

{'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}

Message: SERVER-60702 Enable bounded collscans with arbitrary cluster keys
Branch: master
https://github.com/mongodb/mongo/commit/1eb92bc5fb8b853200bd0d9b515136db81d301b5

Comment by Haley Connelly [ 15/Oct/21 ]

The groundwork was extracted out and into SERVER-60726

This ticket should de-duplicate QueryPlannerParams.clusteredInfo (added in SERVER-60726)  and QueryPlannerParams.allowRIDRange. We should just be able to use QueryPlannerParams.clusteredInfo instead.

Comment by Josef Ahmad [ 14/Oct/21 ]

Shares groundwork with SERVER-60121.

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