[SERVER-51376] Add "reply_type" field to IDL command syntax Created: 05/Oct/20  Updated: 29/Oct/23  Resolved: 27/Oct/20

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

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

Issue Links:
Depends
depends on SERVER-51373 Create IDL definition for OkReply Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-11-02
Participants:

 Description   

reply_type: The name of an IDL struct. Required for all API Version 1 commands, even for those that return only {ok: 1}. Optional for commands not in an API version.



 Comments   
Comment by Githook User [ 27/Oct/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-51378 SERVER-51379 Add API V1 fields to IDL

Add "unstable", "forward_to_shards", and "forward_from_shards" to support API V1 compatibility testing. Also finish SERVER-51376 by checking that reply_type is present if api_version is non-empty.
Branch: master
https://github.com/mongodb/mongo/commit/2ccf0fe0175419ae3563b3f435723157b5c8b693

Comment by Githook User [ 21/Oct/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-51376 Add "reply_type" IDL field
Branch: master
https://github.com/mongodb/mongo/commit/ea5193ab6baf48eaa69b0910fdb36a734277b3ad

Comment by A. Jesse Jiryu Davis [ 20/Oct/20 ]

Still to do: use reply_type in some command definitions, and assert in idlc.py that API Version 1 commands all have reply_type.

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