[SERVER-77111] Remove redundant command target parsing in findCommand::run Created: 12/May/23  Updated: 08/Nov/23  Resolved: 24/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Foteini Alvanaki
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-77723 Turn parseNamespaceFromRequest calls ... Closed
Problem/Incident
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-07-10, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21, QE 2023-09-04
Participants:
Linked BF Score: 5

 Description   

Replace call to CommandHelpers::parseNsOrUUID with findCommand.getNamespaceOrUUID in mongo::(anonymous namespace)::FindCmd::Invocation::run(mongo::OperationContext*, mongo::rpc::ReplyBuilderInterface*). Since IDL already parses the NamespaceOrUUID, it does not need to be done twice.



 Comments   
Comment by Githook User [ 24/Aug/23 ]

Author:

{'name': 'Foteini Alvanaki', 'email': 'foteini.alvanaki@mongodb.com', 'username': ''}

Message: SERVER-77111 Replace parseNsOrUUID with getNamespaceOrUUID in find_cmd
Branch: master
https://github.com/mongodb/mongo/commit/05d6797149cdae13a26693371ccd7b5b8e4aaadd

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