[SERVER-84750] Stop parsing expectPrefix in command body in IDL-generated code Created: 11/Jan/24  Updated: 02/Feb/24  Resolved: 02/Feb/24

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

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: ntdi_code_quality, ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-82602 Remove expectPrefix in the command bo... Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2024-02-05
Participants:
Story Points: 3

 Description   

We are removing expectPrefix from command body. The IDL generated code should not support parsing expectPrefix. 

  • Change the js test codes to not include "expecPrefix"  in command body.
  • change the python code (idl/binder.py, idl/generator.py) which generates the code for parsing/serializing the `expectPrefix` field.


 Comments   
Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-84750 (Part 3) Stop parsing expectPrefix in command body in IDL-generated code (#18554)

GitOrigin-RevId: a940f4b68b34fe20a9705f2ba24008989bc8f8c5
Branch: master
https://github.com/mongodb/mongo/commit/d1aedcec257966685f87e254a059fb57d821f169

Comment by Githook User [ 29/Jan/24 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-84750 (Part 2) Make upgrade_to_use_multitenancy_support.js use security token to indicate expectPrefix (#18440)

GitOrigin-RevId: 2d8bbb90f7ece42175cd6ca3d2a3aee90e969778
Branch: master
https://github.com/mongodb/mongo/commit/27c0f0a8be6f6c9a0b1a04977a2ad69400c3bb6f

Comment by Githook User [ 25/Jan/24 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-84750 Stop parsing expectPrefix in command body in IDL-generated code (Part 1, remove the targeted js file) (#18253)

GitOrigin-RevId: a2063815963e642929add41536ebe31485ad0abd
Branch: master
https://github.com/mongodb/mongo/commit/a757c009a1a90280edf5ef6bd0ddf11f2754f3ae

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