[SERVER-32480] Remove CatalogCache retrieval methods, which take StringData Created: 28/Dec/17  Updated: 30/Oct/23  Resolved: 29/Dec/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.2, 3.7.1

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Sharding 2018-01-01
Participants:

 Description   

The CatalogCache has duplicated metadata retrieval methods, which accept both NamespaceString and StringData. This was introduced in order to not fix all the places when switching to the new CatalogCache API.

Since there are only a handful of these callers now, we should just clean them up.



 Comments   
Comment by Githook User [ 29/Dec/17 ]

Author:

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

Message: SERVER-32480 Remove CatalogCache retrieval methods, which take StringData

(cherry picked from commit a0210b2e83641619eed60c8b19eb1abd7cf37fa1)
Branch: v3.6
https://github.com/mongodb/mongo/commit/beff09aa6febc3739ecd095cd402e4fc4fe1d87e

Comment by Githook User [ 29/Dec/17 ]

Author:

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

Message: SERVER-32480 Remove CatalogCache retrieval methods, which take StringData
Branch: master
https://github.com/mongodb/mongo/commit/a0210b2e83641619eed60c8b19eb1abd7cf37fa1

Generated at Thu Feb 08 04:30:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.