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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: