[SERVER-63105] Make renameCollection accept TenantNamespace Created: 28/Jan/22 Updated: 06/Dec/22 Resolved: 06/Apr/22 |
|
| 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: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Serverless
|
| Participants: |
| Description |
|
According to the PR comment[ https://github.com/10gen/mongo/pull/2533#discussion_r792529156,|https://github.com/10gen/mongo/pull/2533#discussion_r792529156,] to get the right tenant for the renameCollection operation, the correct way is to Make renameCollection accept TenantNamespace. That will enforce the caller to pass in the tenant and does not depend on the opCtx which perhaps has no tenant. |