Use acquisitions APIs instead of a CollectionPtr in plan_cache_detail::computeCollectionState

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-08-04, CAR Team 2025-08-18, CAR Team 2025-09-01, CAR Team 2025-09-15, CAR Team 2025-09-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/10gen/mongo/blob/6421dfa5f45bfe7949eeb6a9d71d785afb656916/src/mongo/db/query/plan_cache_key_factory.cpp#L110-L128

      This method gets the shardVersion from the OSS, we could expose it on the acquisitions API and use it here. This will stop linking the shard_role library into query.

            Assignee:
            Enrico Golfieri
            Reporter:
            Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: