Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-66803

Use tenantId from targetNs to construct sourceNs in NonShardSvrProcessInterface::renameIfOptionsAndIndexesHaveNotChanged

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-06-27, Server Serverless 2022-07-11

      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.

            Assignee:
            fernando.lisboa@mongodb.com Fernando Lisboa (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: