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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing

      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:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: