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

Change CmdRenameCollection to generate namespace with validated tenant id

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless

      Currently, renameCollection request is parsed with RenameCollectionCommand's parse function in which there is no validated tenant id can be used for generating namespace for tenant. 

      auto renameRequest =
                  RenameCollectionCommand::parse(IDLParserErrorContext("renameCollection"),cmdObj);const auto& fromNss = renameRequest.getCommandParameter(); const auto& toNss = renameRequest.getTo(); 

      In this ticket, we should have find a way to pass in validated tenant id so that the fromNss and toNss can have tenant id.

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: