[SERVER-70027] Use TenantId object instead of StringData in tenant_oplog_applier Created: 27/Sep/22  Updated: 05/Apr/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: Adi Agrawal Assignee: [DO NOT USE] Backlog - Server Serverless (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-74511 Remove the TODO on ticket SERVER-70027 Closed
is related to SERVER-71187 Index Build Coordinator to use Tenant... Closed
Assigned Teams:
Serverless
Participants:

 Description   

Currently, tenant_oplog_applier.cpp uses a string to represent tenantId. We want it to use a TenantId object. This will make some comparisons more efficient. 

Some places the tenantId string is passed around includes isNamespaceForTenant and isDatabaseForTenant functions in cloner_utils.cpp. We will want them to also use a tenantId object instead of a string.



 Comments   
Comment by Githook User [ 05/Apr/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-74511 Remove the TODO on ticket SERVER-70027
Branch: master
https://github.com/mongodb/mongo/commit/151aa29d42799a73e7d099277a56a54bbc6c73ea

Comment by Janna Golden [ 01/Mar/23 ]

This is only used by tenant migrations, which will not be supported with multitenancySupport.

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