[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: |
|
||||||||
| 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: Add "unstable", "forward_to_shards", and "forward_from_shards" to support API V1 compatibility testing. Also finish |
| Comment by Githook User [ 21/Oct/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |
| 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. |