|
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
|