[SERVER-67396] Change CmdRenameCollection to generate namespace with validated tenant id Created: 20/Jun/22  Updated: 06/Dec/22  Resolved: 12/Jul/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: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-67397 Change BasicCommandWithReplyBuilderIn... Closed
Duplicate
duplicates SERVER-67461 Convert the renameCollection command ... Closed
Assigned Teams:
Serverless
Participants:

 Description   

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.


Generated at Thu Feb 08 06:08:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.