[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: |
|
||||||||||||
| 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: |
| Comment by Janna Golden [ 01/Mar/23 ] |
|
This is only used by tenant migrations, which will not be supported with multitenancySupport. |