summaryrefslogtreecommitdiff
path: root/db/dur_commitjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/dur_commitjob.cpp')
-rw-r--r--db/dur_commitjob.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/db/dur_commitjob.cpp b/db/dur_commitjob.cpp
index aed38e8..2d57ffd 100644
--- a/db/dur_commitjob.cpp
+++ b/db/dur_commitjob.cpp
@@ -183,7 +183,7 @@ namespace mongo {
// remember intent. we will journal it in a bit
_wi.insertWriteIntent(p, len);
wassert( _wi._writes.size() < 2000000 );
- assert( _wi._writes.size() < 20000000 );
+ //assert( _wi._writes.size() < 20000000 );
{
// a bit over conservative in counting pagebytes used
@@ -200,7 +200,9 @@ namespace mongo {
log() << "debug nsincecommitifneeded:" << _nSinceCommitIfNeededCall << " bytes:" << _bytes << endl;
}
#endif
- uassert(13623, "DR102 too much data written uncommitted", _bytes < UncommittedBytesLimit * 3);
+ if ( _bytes >= UncommittedBytesLimit * 3 ) {
+ wassert( ! "DR102 too much data written uncommitted" );
+ }
}
}
}