Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85514

indexScan should accept a collectionAcquisition as input parameter

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 7.3.0-rc0
    • None
    • None
    • Catalog and Routing
    • ALL

    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

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: