[SERVER-47468] Remove CollectionMetadata-returning methods from ScopedCollectionDescription Created: 10/Apr/20  Updated: 29/Oct/23  Resolved: 14/Apr/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: PM-1645-Milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-04-20
Participants:

 Description   

The CollectionMetadata will eventually be removed as an implementation detail of the ScopedCollectionDescription and as such it should not be exposed through operators. This ticket is to hide any publicly-exposed CollectionMetadata returning methods from this class so that no new usages are introduced inadvertently.



 Comments   
Comment by Githook User [ 14/Apr/20 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-47468 Move all non-API methods from CollectionSharding State to Runtime
Branch: master
https://github.com/mongodb/mongo/commit/298652908ebcc41ba28b1d68a3c6a90486ccce98

Comment by Githook User [ 14/Apr/20 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-47468 Remove public CollectionMetadata references from ScopedCollectionDescription

The CollectionMetadata is intended to be an entirely internal (to
sharding) implementation detail of the services provided by
ScopedCollectionDescription/ScopedOwnershipFilter so should not be seen
at all by non-sharding code.
Branch: master
https://github.com/mongodb/mongo/commit/53b6694ef172411cfe8f5939b010efa35dd4d651

Generated at Thu Feb 08 05:14:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.