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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • None
    • 3
    • 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:
            [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: