shell helper for update must pass through all options

XMLWordPrintableJSON

    • Query Optimization
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Asya Kamsky
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: