[SERVER-66803] Use tenantId from targetNs to construct sourceNs in NonShardSvrProcessInterface::renameIfOptionsAndIndexesHaveNotChanged Created: 26/May/22 Updated: 29/Oct/23 Resolved: 30/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Fernando Lisboa (Inactive) |
| 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 2022-06-27, Server Serverless 2022-07-11 | ||||||||
| Participants: | |||||||||
| Description |
|
NonShardSvrProcessInterface::renameIfOptionsAndIndexesHaveNotChanged takes in the target namespace as a NamespaceString, and then constructs the source namespace from a BsonObj. When constructing the source namespace, use the tenantId from the targetNs passed in - we shouldn't be renaming across tenants so the tenantId should be the same. |
| Comments |
| Comment by Githook User [ 29/Jun/22 ] |
|
Author: {'name': 'Fernando Lisboa', 'email': 'fernando.lisboa@mongodb.com', 'username': 'fernandolis10'}Message: |