[SERVER-24823] Support admin commands on views Created: 28/Jun/16  Updated: 08/Aug/17  Resolved: 02/Aug/16

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: 3.3.11

Type: New Feature Priority: Major - P3
Reporter: Kyle Suarez Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-9446 Document which commands work (or don'... Closed
Backwards Compatibility: Major Change
Sprint: Integration 18 (08/05/16)
Participants:

 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

The choice of error versus no-op can be determined on a per-command basis, based on what would be most intuitive for the average user.



 Comments   
Comment by Githook User [ 02/Aug/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-24823 Add support for remaining admin commands
Branch: master
https://github.com/mongodb/mongo/commit/d62fb03017e6982825a3c3114de1d963f628716f

Comment by Githook User [ 24/Jul/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-24823 Add admin commands, durable system.views catalog

Consolidate disallowed commands in views_all_commands.js testing.
Branch: master
https://github.com/mongodb/mongo/commit/7f17bd8ee649787d6a2ba02dfa3bb5da7ff0bb41

Generated at Thu Feb 08 04:07:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.