-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
Commands that take a namespace or collection as an argument should document whether or not they work on views. A partial list is found in the original description below. We should also consider whether or not to create a "commands that work with views" list, if it would be helpful to users.
Engineering Ticket Description:
Commands that work with namespaces should either work with views, be a no-op, or fail explicitly with the error code CommandNotSupportedOnView. A non-exhaustive list includes
- createIndexes
- dropIndexes
- listIndexes
- reIndex
- renameCollection (with a shell helper renameView)
- collMod
- copydb
- validate
- documents
-
SERVER-24823 Support admin commands on views
- Closed
- is duplicated by
-
SERVER-29354 add ability to atomically replace view definition
- Closed