Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9464

Consider documenting behavior when tampering with system.views

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • 3.4.0
    • None

    Description

      We should consider documenting the behavior of mongod when users manually tamper with the system.views collection. I'm not sure if this level of detail is appropriate for the manual, given that if users follow the rules and don't touch system.views, none of this should be a problem.

      Here's the behavior: as of release 3.4.0, users who insert invalid documents into system.views will cause all views-related operations to fail on that server. It also prevents running listCollections. Operations performed through mongos, even when not run on a view, may fail because mongos will try to run listCollections.

      I'm fine if we don't document this, but we should ensure that there's a note in the views page that says "don't mess with system.views".

      Attachments

        Issue Links

          Activity

            People

              kay.kim@mongodb.com Kay Kim (Inactive)
              emily.hall Emily Hall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                5 years, 25 weeks, 5 days ago