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

Support admin commands on views

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: None
    • Component/s: Admin
    • None
    • Major Change
    • Integration 18 (08/05/16)

      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.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: