Skip to content

Commit

Permalink
Added logging preceding assertion in database.cpp for exceeded quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewCEmil authored and monkey101 committed May 31, 2013
1 parent db3bc3e commit 819500d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mongo/db/database.cpp
Expand Up @@ -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");
}
}
Expand Down

0 comments on commit 819500d

Please sign in to comment.