Prevent system.profile from being dropped

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Feature:
      Customer want to retain profile / audit information and ensure that they are tamper proof. Presently, the system.profile collection can be dropped if profiling is turned off.

      Test case:

      > use test
      > db.system.profile.drop();
      Sun Jun 5 13:02:28 uncaught exception: drop failed:

      { "ns" : "test.system.profile", "errmsg" : "exception: turn off profiling before dropping system.profile collection", "code" : 10087, "ok" : 0 } > db.setProfilingLevel(0); { "was" : 2, "slowms" : 100, "ok" : 1 }

      > db.system.profile.drop();
      true

            Assignee:
            Unassigned
            Reporter:
            Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: