Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51379

Add "forward_to_shards" and "forward_from_shards" parameter fields to IDL command syntax

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Fully Compatible
    • Repl 2020-11-02

      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.)

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: