A crash shortly after initializing a db directory can leave the data inaccessible due to an empty storage.bson file. An fsync of the newly written file in StorageEngineMetadata::write before allowing any db data to be written should fix this.
- is related to
-
SERVER-15986 Starting with different storage engines in the same dbpath should error/warn
- Closed
-
SERVER-16332 Fix coverity defect in StorageEngineMetadata::write()
- Closed
-
SERVER-16677 mongod.lock file should be present in data directory regardless of storage engine selected
- Closed
-
SERVER-16760 Coverity analysis defect 49690: Resource leak
- Closed
- related to
-
SERVER-17152 WiredTiger file corrupted during power cycle test
- Closed