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

shell helper for update must pass through all options

    • Query Optimization
    • ALL

      The helper for update expects and looks for options multi and upsert (also writeConcern and collation, and then as of 3.5.9 arrayFilters) and it silently ignores any and all other options.

      This is bad because (a) misspelled options are silently ignored and the wrong thing happens (b) if we add new options in the future, they will also be silently ignored and not sent ahead to the server by older shell.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: