[SERVER-69541] Update Helpers::findById() to take NamespaceString object Created: 08/Sep/22  Updated: 29/Oct/23  Resolved: 29/Sep/22

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

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

Issue Links:
Depends
is depended on by SERVER-66643 Make pre-image collection multi-tenant Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-10-03
Participants:

 Description   

Helpers::findById() currently takes in a StringData for the namespace, and then constructs a NamespaceString object from that.  We should instead pass a NamespaceString object so that the tenantId is not lost, and update any call sites as well.



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

Author:

{'name': 'Romans Kasperovics', 'email': 'romans.kasperovics@mongodb.com', 'username': 'romanskas'}

Message: SERVER-69541 Modify Helpers::findById() to accept NamespaceString type collection name
Branch: master
https://github.com/mongodb/mongo/commit/a6cb05b658ea5ce9a6e7c335339901dfd9ff0f65

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