0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

assert on error writing file during recovery

This commit is contained in:
Aaron 2011-01-14 15:29:22 -08:00
parent e8a0dc9096
commit 6c5e7e2789

View File

@ -152,6 +152,7 @@ namespace mongo {
ofs += w;
}
f.fsync();
massert(13628, str::stream() << "recover failure writing file " << full, !f.bad() );
}
}