[SERVER-76582] Pass correct SerializationContext objs into command replies Created: 26/Apr/23  Updated: 29/Oct/23  Resolved: 12/May/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: Hugh Tong (Inactive) Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-74284 Fix existing tests for command serial... Closed
is depended on by SERVER-76864 Pass SerializationContext obj into Cu... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-05-15
Participants:
Story Points: 3

 Description   

IDL command replies currently construct their own generic Command Reply serialization context objects, but these do not reflect the flags retrieved during Command Request parsing.  Since Command Reply serialization highly depends on these flags, we need a way to construct new Command Reply serialization context objects, while ensuring they retain flags gained during deserialization.

As the goal of these changes are in pursuit of fixing tests that will fail once serializeForCommands and deserializeForCommands are plumbed in, no new tests are being added for this ticket.



 Comments   
Comment by Githook User [ 12/May/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-76582 Pass correct SerializationContext objs into command replies
Branch: master
https://github.com/mongodb/mongo/commit/7a494b24bf306a620794069d3b3ea3d794209978

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