[SERVER-81035] Create catalog-specific deserializer for pattern matching Created: 13/Sep/23  Updated: 29/Oct/23  Resolved: 22/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Hugh Tong (Inactive) Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-73113 Allow only specific global dbs to be ... Closed
is depended on by SERVER-80635 Use AuthPrevalidated for auth-specif... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-09-18, Server Serverless 2023-10-02
Participants:

 Description   

In getAllDbNames and getAllTenants calls in CollectionCatalog, boost::none is being passed into these functions to build DatabaseName objects used to find an upper bound when iterating through the catalog map which still maps to DatabaseNames.  These DatabaseName objects are not used for direct access to the stored databases, and are specific to catalog.  We should bypass our regular checks for catalog when building objects used for pattern matching.



 Comments   
Comment by Githook User [ 22/Sep/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-81035 Create catalog-specific deserializer for pattern matching
Branch: master
https://github.com/mongodb/mongo/commit/fb2c597bdeb0153a9110c0075d72d010eb2d922f

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