[SERVER-85514] indexScan should accept a collectionAcquisition as input parameter Created: 22/Jan/24  Updated: 25/Jan/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: 7.3.0-rc0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Enrico Golfieri Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Catalog and Routing
Operating System: ALL
Participants:

 Description   

indexScan currently accepts only a collectionPtr as input. As done for the collectionScan a collectionAcquisition should be accepted to make the indexScan compatible with the CollectionAcquisition class provided the the shard role API.

Note this is not as trivial as just changing the function signature. The YieldPolicy accepted by the indexScan cannot be YIELD_AUTO if a the input collection is not yieldable (as for collectionAcquisition) . In case of collectionAcquisition, the YieldPolicy can be probably built somehow using this API

After the ticket is done, adapt the shardKeyIndexScan accordingly and parse the TODO


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