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

mongot does not recognize all generic arguments

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • ALL

      The server has a concept of "generic arguments", which are arguments that are recognized by all commands. They're defined in the generic_argument.idl IDL file. It appears that mongot doesn't recognize all of these arguments though and will return an error upon encountering them.

      To be more compliant with mongod / mongos behavior, mongot should not error when receiving these arguments. To be a bit more selective, mongot could at least not error when receiving arguments typically forwarded to shards. Another alternative would be to just state that this behavior is working as intended, and that we want to be very selective about the arguments we forward to mongot and error loudly when we accidentally do forward them.

      example failure: https://parsley.mongodb.com/test/mongodb_mongo_master_linux_64_debug_required_search_end_to_end_single_node_patch_90ce7f478fb2bfd8e6b46290d2d5f878985516b3_665600f24f7b0c0007545bd8_24_05_28_16_06_15/0/eff96505fefd46fc76aef9f6380fb853?bookmarks=0,164&selectedLineRange=L43&shareLine=0

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: