summaryrefslogtreecommitdiff
path: root/src/mongo/db/database.cpp
diff options
context:
space:
mode:
authorAndrewCEmil <andrew.emil@10gen.com>2013-05-02 14:06:48 -0700
committerDan Pasette <dan@10gen.com>2013-05-31 19:28:41 -0400
commit819500d00d46fe0e69ce4cfb4398f04ce79b8471 (patch)
tree31454389a82704bba780b83233b6602842777ca4 /src/mongo/db/database.cpp
parentdb3bc3e7e12c56a06a17b1d67bb1987da5b1e9af (diff)
downloadmongo-819500d00d46fe0e69ce4cfb4398f04ce79b8471.tar.gz
Added logging preceding assertion in database.cpp for exceeded quotas
Diffstat (limited to 'src/mongo/db/database.cpp')
-rw-r--r--src/mongo/db/database.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/database.cpp b/src/mongo/db/database.cpp
index bb7f5c7fcbf..9c06aea9a93 100644
--- a/src/mongo/db/database.cpp
+++ b/src/mongo/db/database.cpp
@@ -323,6 +323,7 @@ namespace mongo {
warning() << "quota exceeded, but can't assert, probably going over quota for: " << ns << endl;
}
else {
+ log() << "quota exceeded for namespace: " << ns << endl;
uasserted(12501, "quota exceeded");
}
}