[SERVER-69723] Serialize and deserialize the namespace correctly in the listCatalog agg stage in multitenant environment Created: 15/Sep/22  Updated: 29/Oct/23  Resolved: 28/Nov/22

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

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

Issue Links:
Related
related to SERVER-71665 Complete TODO listed in SERVER-69723 Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-11-14, Server Serverless 2022-11-28
Participants:

 Description   

Change CommonMongodProcessInterface::getCatalogEntry such that it properly serializes the database name. Use the helper in NamespaceStringUtils::serialize to do so.

Also deserialize the "ns" field using NamespaceStringUtils::deserialize to correctly construct the NamespaceString here.



 Comments   
Comment by Githook User [ 08/Dec/22 ]

Author:

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

Message: SERVER-71665 Remove TODO for SERVER-69723
Branch: master
https://github.com/mongodb/mongo/commit/1f5e36035ec391dfec19056a50d75f07375cb264

Comment by Githook User [ 17/Nov/22 ]

Author:

{'name': 'cortrain', 'email': '95658946+cortrain@users.noreply.github.com', 'username': 'cortrain'}

Message: SERVER-69723 Serialize/deserialize namespace correctly in listCatalog agg stage for multitenant environment
Branch: master
https://github.com/mongodb/mongo/commit/cb4262502c0541a4a069e3a3eb2f6393eb91db10

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