Permalink
Browse files

SERVER-6311 do not crash if FlushFileBuffers fails

Unclear what it means if it fails. It should not matter with
regard to data integrity; the critical call is FlushViewOfFile.
  • Loading branch information...
1 parent afd5eb4 commit 560db9021b8862f307d8255e8c0cc3589273571e @milkie milkie committed Jul 11, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 util/mmap_win.cpp
View
@@ -243,7 +243,6 @@ namespace mongo {
if (!success) {
int err = GetLastError();
out() << "FlushFileBuffers failed " << err << " file: " << _filename << endl;
- abort();
}
}

0 comments on commit 560db90

Please sign in to comment.