> oplog.rssystem
_local_ DB _system.profile_
src/mongo/db/repl/oplog.cpp
bool oplogDisabled(OperationContext* txn,
ReplicationCoordinator::Mode replicationMode,
const NamespaceString& nss) {
if (replicationMode == ReplicationCoordinator::modeNone)
return true;
if (nss.db() == "local")
return true;
if (nss.isSystemDotProfile()) // == "system.profile"
return true;
if (!txn->writesAreReplicated())
return true;
fassert(28626, txn->recoveryUnit());
return false;
}
db.setProfilingLevel()MongoDB _system.profile_