[SERVER-74284] Fix existing tests for command serialization/deserialization Created: 22/Feb/23  Updated: 29/Oct/23  Resolved: 06/Jul/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
depends on SERVER-70740 Handle expectPrefix option in requests Closed
depends on SERVER-73108 Handle command request/reply serializ... Closed
depends on SERVER-73109 Build idl infrastructure to pass cont... Closed
depends on SERVER-74029 Add SerializationContext to custom de... Closed
depends on SERVER-74184 Support SerializationContext in const... Closed
depends on SERVER-74897 Change IDL defined commands to call N... Closed
depends on SERVER-76580 Allow overriding SerializationContext... Closed
depends on SERVER-76582 Pass correct SerializationContext obj... Closed
depends on SERVER-76584 Ensure $tenant field sets the nonPref... Closed
depends on SERVER-76612 Copy SerializationContext between req... Closed
depends on SERVER-76634 Add SerializationContext object to Ex... Closed
depends on SERVER-76635 Override SerializationContext when pa... Closed
depends on SERVER-76677 Provide SerializationContext to seria... Closed
depends on SERVER-76864 Pass SerializationContext obj into Cu... Closed
depends on SERVER-76867 Add VTS access to BasicCommandWithReq... Closed
depends on SERVER-76869 Access VTS for Distinct command parsing Closed
depends on SERVER-77243 Pass SerilaizationContext obj to _app... Closed
depends on SERVER-77244 Access VTS for SerializationContext f... Closed
depends on SERVER-77850 Enforce expectPrefix serialization in... Closed
is depended on by SERVER-75930 Change command serialization/deserial... Closed
is depended on by SERVER-76084 Create targeted tests for command de/... Closed
is depended on by SERVER-78300 Use expectPrefix in the tenant aware ... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-04-17, Server Serverless 2023-05-01, Server Serverless 2023-06-26, Server Serverless 2023-07-10
Participants:
Story Points: 5

 Description   

After the logic exists to serialize and deserialized based on command context, we need to plumb it in which will expose issues in many commands that have dependencies on the original behavior in our targeted tests.  This will initially only exist for IDL-generated commands, and we will need to modify existing tests to adjust for the updated output.

This will serve as the majority of the test coverage that validates existing functionality, and there is considerable risk in rooting out the issues that exist in each command that need to be addressed.



 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

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

Message: SERVER-74284 Fix existing tests for command serialization/deserialization
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/d43674a758447102e1bba8d2ed3ed98c5a057feb

Comment by Githook User [ 01/Jul/23 ]

Author:

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

Message: SERVER-74284 Fix existing tests for command serialization/deserialization
Branch: master
https://github.com/mongodb/mongo/commit/d43674a758447102e1bba8d2ed3ed98c5a057feb

Comment by Hugh Tong (Inactive) [ 10/May/23 ]

Blocked on dependent subtasks.

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