[SERVER-74828] Ensure parseResourcePattern creates NamespaceString with tenantId Created: 14/Mar/23 Updated: 29/Oct/23 Resolved: 22/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Server Serverless 2023-03-20, Server Serverless 2023-04-03 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Until PM-2969 is completed, parseResourcePattern takes in a string for the db name and when it constructs a NamespaceString, it will construct it without a tenantId. This will fail once tenantIds are required to construct namespaces when multitenancySupport is enabled. This ticket is to make sure that the tenantId is extracted from the db name so the namespace can be constructed with it correctly. This is temporary, as PM-2969 should change the API take use DatabaseName objects instead. |
| Comments |
| Comment by Githook User [ 22/Mar/23 ] |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: |