-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
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.
- related to
-
SERVER-39975 update accepts true or an options document
- Closed