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

Consider documenting behavior when tampering with system.views

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:

      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

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              emily.hall Emily Hall
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Days since reply:
                4 years, 46 weeks, 5 days ago