[SERVER-66330] Fill the CollectionImportMetadata::ns with the correct tenant id Created: 09/May/22  Updated: 01/Mar/23  Resolved: 01/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: [DO NOT USE] Backlog - Server Serverless (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-62659 Ensure importCollection has access to... Closed
Assigned Teams:
Serverless
Participants:

 Description   

Currently, when collection metadata is imported from table:_mdb_catalog, we did not fill the tenant id for its ns NamespaceString field. Refer to the code of wiredtiger_import.cpp.  

In this ticket, we will change the code to parse the tenant and db name from
rawCatalogEntry's "ns" and create the correct ns NamespaceString field with them.  Also, we will change the existing codes which access the "CollectionImportMetadata::ns" , for example tenant_file_importer_service.cpp.


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