[SERVER-84115] Router command path parses read preference and cluster time twice Created: 12/Dec/23  Updated: 13/Dec/23  Resolved: 13/Dec/23

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

Type: Improvement Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Cluster Scalability 2023-12-25
Participants:

 Description   

The mongos command path parses both first via rpc::readRequestMetadata() in ParseAndRunCommand::_parseCommand() then a second time in ExecCommandClient::_prologue().



 Comments   
Comment by Githook User [ 13/Dec/23 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-84115 Remove unnecessary parsing in router command path

GitOrigin-RevId: 676daa539c4cdf4adc138cdc9170e974c19c77ee
Branch: master
https://github.com/mongodb/mongo/commit/b94f3377bdb481f00e8d2fd2983c5a6e18488034

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