Skip system.views system namespace in mongodump / restore

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator
    • 36

      Currently we only include system.keys in `shouldSkipSystemNamespace` but it should include system.views as well. Without skipping system.views, a user who creates a view in the admin database can get stuck with permission issues dumping `admin.system.views` while using mongodump.

      We should use an allow list for the admin database so that any future system collections in the admin database aren't dumped by default. The collections to be allowed are system.users, system.roles, and system.version. We can skip all the others.

            Assignee:
            Unassigned
            Reporter:
            Shyam Subramaniyam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: