[SERVER-51379] Add "forward_to_shards" and "forward_from_shards" parameter fields 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

Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-11-02
Participants:

 Description   

From the design:

forward_to_shards

A boolean. Default false. True for some fields in the structs defined in command_generic_argument.idl, see Specify generic arguments in IDL. If true, this parameter should be included in commands that are forwarded from mongos to shards. (This field replaces today's stripFromRequest concept, with a flipped meaning and improved name.)

forward_from_shards

A boolean. Default false. True for some fields in the structs defined in command_generic_argument.idl, see Specify generic arguments in IDL. If true, this field should be included in replies that mongos forwards from shards to clients. (This field replaces today's stripFromReply concept, with a flipped meaning and improved name.)



 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

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