Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3202

Prevent system.profile from being dropped

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Admin
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: