Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

diskfull.js expects to see the message

  • Loading branch information...
commit e8cc3182d087a3670fef54b4d855526d329aa56d 1 parent 0dbcd44
authored October 25, 2010

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  util/file_allocator.h
5  util/file_allocator.h
@@ -162,7 +162,10 @@ namespace mongo {
162 162
     private:
163 163
 #if !defined(_WIN32)
164 164
         void checkFailure() {
165  
-            uassert( 12520, "new file allocation failure", !failed_ );            
  165
+            if (failed_) {
  166
+                // we want to log the problem (diskfull.js expects it) but we do not want to dump a stack tracke
  167
+                msgassertedNoTrace( 12520, "new file allocation failure" );
  168
+            }
166 169
         }
167 170
         
168 171
         // caller must hold pendingMutex_ lock.  Returns size if allocated or 

0 notes on commit e8cc318

Please sign in to comment.
Something went wrong with that request. Please try again.