Support admin commands on views

XMLWordPrintableJSON

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

      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
              Reporter:
              Kyle Suarez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: