[SERVER-53371] Set API Parameters on opCtx before parsing command Created: 15/Dec/20  Updated: 29/Oct/23  Resolved: 16/Dec/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-12-28
Participants:

 Description   

If we call parse before setting API Parameters on the opCtx, then parsing will fail because it didn't find that api_strict wasn't set to true on the opCtx (even though that could have been specified in the request).



 Comments   
Comment by Githook User [ 16/Dec/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-53371 Set API Parameters on opCtx before parsing command
Branch: master
https://github.com/mongodb/mongo/commit/5d4fb12a86bcae5362d23a039c1e03bdfb4389ee

Generated at Thu Feb 08 05:30:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.