[SERVER-77571] Use acquisitions APIs instead of a CollectionPtr in plan_cache_detail::computeCollectionState Created: 30/May/23  Updated: 26/Oct/23

Status: Blocked
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Daniel Gomez Ferro Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: PM-2144-QW-Fallout, oldshardingemea
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-78724 Integrate acquisitions into aggregations Open
depends on SERVER-77507 Integrate acquisitions into Find Closed
Assigned Teams:
Catalog and Routing
Participants:

 Description   

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.


Generated at Thu Feb 08 06:35:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.