indexScan should accept a collectionAcquisition as input parameter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-05-26, CAR Team 2025-06-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Enrico Golfieri
            Reporter:
            Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: